Merge pull request #241 from phanan/onload_vs_ready
Added a JS q regarding window.onload and $(document).ready()
This commit is contained in:
commit
92747b331c
|
|
@ -132,6 +132,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?
|
||||
* Why would you use something like the `load` event? Does this event have disadvantages? Do you know any alternatives, and why would you use those?
|
||||
|
||||
#### jQuery Questions:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue