r/javascript • • Dec 05 '15

Microsoft Edge's JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
317 Upvotes

84 comments sorted by

View all comments

Show parent comments

3

u/franksvalli Dec 05 '15

Ok!

(Math.random() > 0.5) ? 'Google-sized GNU' : 'A hundred GNU-sized Googles';

11

u/bterlson_ @bterlson Dec 05 '15

Using a freshly built copy of ch.exe:

chakracore> type random.js
print((Math.random() > 0.5) ? 'Google-sized GNU' : 'A hundred GNU-sized Googles');

chakracore> Build\VcBuild\bin\x64_test\ch.exe random.js
Google-sized GNU

This is frightening to me.

1

u/JohnMcPineapple Dec 06 '15 edited Oct 08 '24

...