Message from JavaScript discussions

May 2017

— Adding iterable support and... uhhhh


// Add Strings from the Iterable to the Set.
if (iterable !== null && iterable.__proto__.__proto__.hasOwnProperty("next")) {

this stinks to high heaven

— Oh god, wtf

— My linters would probably go nuts over __proto__

— Haha, yeah, it's not that good

— The for loop right under should throw an error if it's not an iterable anyways, so I'll not do that crazy check

Message permanent page

— Good

— Is there any way to hide js from page source ?

— No

— Run it on the server

— Server render webpages and then use a socket to unpack code directly in memory

— Also, why would you want to hide JS?