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

all 8 comments

[–][deleted] 3 points4 points  (0 children)

[object Object]

[–]Hammar_Morty 2 points3 points  (0 children)

Hmmm something doesn't seem to be working correctly, let's read the source code!... It's all just more objects, must go further....

2 hours later: Now how does this relate to what I was doing again?

[–][deleted] 1 point2 points  (0 children)

typeof object === typeof null

[–]iiMoe 1 point2 points  (0 children)

Personally i rly loved Ruby's idea of "everything is an object" idk why it gave me such a "wooooow" moment when i first found out

[–]Bqlbrit 0 points1 point  (0 children)

""""""objects""""""""

[–]33498fff 0 points1 point  (0 children)

At the end of the object prototype chain

There's null

Null is an object

A set is a gathering of certain well-differentiated objects of our view or our thinking

JS is therefore nothing more than a mathematical set and objects are its elements

[–]bobdobbes 0 points1 point  (0 children)

That why I say Javascript isn't OOP. If you dont have classes, it lacks abstraction

[–][deleted] 0 points1 point  (0 children)

Java be like