3 ms·
I've found in JS what annoys me a lot is that I can't do this var x = 'foo' {x: 1} Also, where have you seen that class pattern so much? That seems very o
by lucian1900 14y ago
I've found in JS what annoys me a lot is that I can't do this
var x = 'foo'
{x: 1}
Also, where have you seen that class pattern so much? That seems very odd. I almost always find dicts, sometimes __slots__ classes for CPython performance.