4 ms·
JavaScript identifiers can be emoji, I think. This is also valid JavaScript (you can test it by pasting it into your console): let ಠ_ಠ = "Hello, world!"; a
by tylerhou 8y ago
JavaScript identifiers can be emoji, I think. This is also valid JavaScript (you can test it by pasting it into your console):
let ಠ_ಠ = "Hello, world!";
alert(ಠ_ಠ);
Some more examples: https://mathiasbynens.be/notes/javascript-identifiers#examples https://mathiasbynens.be/notes/javascript-identifiers#exampl...
d3.js used to also use Unicode identifiers:
https://web.archive.org/web/20140802202152/https://github.com/mbostock/d3/blob/master/d3.js#L1185 https://web.archive.org/web/20140802202152/https://github.co...
https://web.archive.org/web/20140802202152/https://github.com/mbostock/d3/blob/master/d3.js#L1210 https://web.archive.org/web/20140802202152/https://github.co...