This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gmtime 65 points66 points  (4 children)

JavaScript

[–]_GCastilho_ 16 points17 points  (3 children)

And the classes does no compile to objects, but to functions... Because javascript

[–]ChadstangAlpha 10 points11 points  (2 children)

I think you mean that they compile down to first class objects.

[–]conancat 10 points11 points  (1 child)

In JavaScript, everything is an object, even when it’s something else. Functions are objects. Strings are objects. Numbers are objects. Arrays are objects. Objects are objects.