Skip to content

Instantly share code, notes, and snippets.

@acimnotes
acimnotes / hacks.js
Created January 13, 2016 08:56
my javascript learning.
document.onreadystatechange = function () {
if (document.readyState === "complete") {
// executes after DOM is ready
}
}
window.onload = function() {
// executes when everything is loaded
};