wtfjs
wtfjs copied to clipboard
Pull request #201 broke some examples in the English README.md file
In example "Adding arrays", the code in the example doesn't work.
In example "Addition of RegExps", the code was formatted weirdly causing it not to return the correct result. The original was /7/ - /5/;
In example "Double dot", the code was changed from 27..toString() to (27).toString(); in both the explanation and example.
In example "Why you should use semicolons", the code from the explanation was copied into the example.
I think that example "Extra Newness" is broken. I also think that example "A generator which yields itself" is broken.
It also seems that some examples in the other translations are broken. For example Korean, Italian, Hindi and maybe more.