From 518a4cd2739e8f89efdb83fe7263b712b2cfeb4e Mon Sep 17 00:00:00 2001 From: An Phan Date: Thu, 29 Jan 2015 16:57:36 +0800 Subject: [PATCH] Added a JS q regarding window.onload and $(document).ready() --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4775a67..b4cd608 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,7 @@ duplicate([1,2,3,4,5]); // [1,2,3,4,5,1,2,3,4,5] * What is `"use strict";`? what are the advantages and disadvantages to using it? * Create a for loop that iterates up to `100` while outputting **"fizz"** at multiples of `3`, `"buzz"` at multiples of `5` and **"fizzbuzz"** at multiples of `3` and `5` * Why is it, in general, a good idea to leave the global scope of a website as-is and never touch it? +* What is the difference between `window.onload` and jQuery's `$(document).ready()`? #### jQuery Questions: