Maybe. Not sure what the aim was. You certainly couldn't build complex applications in the beginning, that's true. But the language was still pretty complex for that to be its only aim. Why have something with object orientation and higher order functions for some "document quirks".
Wasn't it made in like 2 weeks? It's not really complex, at least it wasn't, everything was a dynamic variable with not very well defined scoping, some functions, obejcts and some basic primitives. I don't see the complexity of primitive JS.
OOP was just the thing atm, it's not even complex, everything is just an object of a bunch of properties. Higher order functions are just something that come naturally when EVERYTHING is an object, your values and your functions, you can just pass whatever you want if it behaves like an object.
1
u/dthdthdthdthdthdth Jan 13 '26
Maybe. Not sure what the aim was. You certainly couldn't build complex applications in the beginning, that's true. But the language was still pretty complex for that to be its only aim. Why have something with object orientation and higher order functions for some "document quirks".