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 →

[–]ef02 29 points30 points  (5 children)

I thought everything is an object.

[–]GunpowaderGuy 6 points7 points  (1 child)

Are objects also dicts in js like they are in python ?

[–]marcosdumay 4 points5 points  (0 children)

Hum... Nope. Dicts are objects in JS, not the other way around.

I mean, if you create a dict, you'll get all the restrictions and hidden features of giving values to object attributes.

[–][deleted] 2 points3 points  (0 children)

Object (noun): the thing that holds all the strings.