Core JavaScript - look inside Object.prototype and Static methods

770 views
 

Important methods defined on the Object.prototype:

hasOwnProperty()

propertyIsEnuemrable()

isPrototypeOf()

Important methods defined on the Object constructor

create()

getPrototypeOf()

keys()

getOwnedPropertyNames()

getOwnPropertyDescriptor()

isExtensible()

isSealed()

isFrozen()

---------------------------------------------------------------------------------------

Facebook page:

https://www.facebook.com/pages/WebTunings/339234242822202

Recommended JavaScript Book:

http://www.amazon.com/gp/product/0596805527/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0596805527&linkCode=as2&tag=webtuningscom-20

Code snippets:

https://github.com/webtunings

Channel:  WebTunings
Mojo Jojo 

Thank you for the tutorials. If we want to create static methods of our own, can we do something like object.prototype.mystaticmethod() = function(){}