Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AJAX - a way of getting info form api to javascript
- - can refer to any web request from inside the code (from an api)
- JQuery Library - used in 90% of websites
- - standardized code between browsers
- In JS hashes are treated as objects so you can use the [] notation or the .exampleattribue notation
- JS is asynchronus language so if a funcition is delayed it is put in a queue and other functions
- will run even if written lower down in the code
- Callback - as soon as a JS funciton runs the next will run
- ex) setTimeout(function() {
- console.log("First Task Done!");
- setTimeout(function() {
- console.log("Second Task Done!");
- setTimeout(function() {
- console.log("Third Task Done!");
- setTimeout(function() {
- console.log("Fourth Task Done!");
- }, 2000);
- }, 2000);
- }, 2000);
- }, 2000);
Add Comment
Please, Sign In to add comment