Message from JavaScript discussions

February 2019

— Functions are not data structures


Yeah problem is I made everything with classes in the current project. Didnt know that javascript is just faking classes before

— Next time Ill use object.create/ setPrototypeOf to achieve the same

— They are tho

— Objects are just functions

— Object is just a function that takes a string and returns any or undefined

— Wrong order🤤 functions are objects

— Objects are conceptually just less general functions

— It's a lookup table

— Objects are constructor functions😅

— Well, kinda

— Wellcomen :)