3 ms·
It misses some things: 1) prototype 2) constructor 3) prompt 4) debugger statement i.e. this is must for anyone who want to put breakpoints in code But thi
by morbidkk 18y ago
It misses some things:
1) prototype
2) constructor
3) prompt
4) debugger statement i.e. this is must for anyone who want to put breakpoints in code
But this is really short and sweet 1 page Core JS summary for people who want to write their own libraries
(function(){
var myLib = {}
myLib.prototype={
method1: function(){ xx;yy;zz},
method2: function(){ xx;yy;zz},
variable1: 'value1'
}
)()