addEventListener('DOMContentLoaded', function(){ console.log("me executed 1st after page loaded") });
isEmpty = function(a,b){for(b in a){break}return !b};
// Array b=Array.concat(a); // Object Object.assign(b,a); // Number b=Number(a); // String b=String(a); // RegExp b=RegExp(a.source,a.flags);
function (value) { value = value || 0; }
function (a,b) {}.bind(null,0)
function () { var args = Array.prototype.slice.call(arguments); }
var dialog = {}; extend(dialog , EventEmitter); // Subscribe to event. dialog.on('close', function () { alert('Dialog closed'); }); // Emit event. dialog.emit('close');
setTimeout(Function(), 2000);}
[].forEach.call(thisArg, callback[, thisArg]) // undefined
[].slice.call(thisArg, [begin[, end]]) // copied
[].splice.call(thisArg, start, deleteCount[, item1[, item2[, ...]]]) // deleted
[].join.call(thisArg, [separator = ',']) // string
[].concat.call(thisArg, value1[, value2[, ...[, valueN]]]) // newValue
[].unshift.call(thisArg, [element1[, ...[, elementN]]]) // unshifted
[].shift.call(thisArg) // shifted
[].push.call(thisArg, element1, ..., elementN) // length
[].pop.call(thisArg) // popped
[].filter.call(thisArg, callback[, thisArg]) // filtered
[].map.call(thisArg, callback[, thisArg]) // mapped
[].reduce.call(thisArg, callback[, initialValue]) // single value
[].reduceRight.call(thisArg, callback[, initialValue]) // single value
[].some.call(thisArg, callback[, thisArg]) // boolean
[].every.call(thisArg, callback[, thisArg]) // boolean
[].sort.call(thisArg, [compareFunction]) // sorted in code point order
[].reverse.call(thisArg) // reversed
location=c.canvas.toDataURL().replace('image/png','application/octet-stream')
function pad(n,w,z) { w = w || 0; z = z || '0'; n = n + ''; return n.length >= w ? n : new Array(w - n.length + 1).join(z) + n; };
https://jsfiddle.net/iegik/8LKFb/