Created
December 31, 2016 03:26
-
-
Save aledwassell/f76d2e2f6a1132e04a94b46a063e958c to your computer and use it in GitHub Desktop.
This is the stuff I still have to get my head around in 2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ES6: The current version of JavaScript is ES2016 (aka ES7), but a lot of developers still haven’t properly learned ES6. It’s time to learn. | |
Builtin methods: Learn methods for the standard data types (especially arrays, objects, strings, and numbers). | |
Functions & pure functions: You probably think you’ve got a great grasp of functions, but JavaScript has some tricks up its sleeves, and you’ll need to learn about pure functions to get a handle on functional programming. | |
Closures: Learn how JavaScript’s function scopes behave. | |
Callbacks: A callback is a function used by another function to signal when there is a result ready. You say, “do your job, call me when it’s done.” | |
Promises: A promise is a way to deal with future values. When a function returns a promise, you can attach callbacks using the .then() method to run after the promise resolves. The resolved value is passed into your callback function, e.g., doSomething().then(value => console.log(value)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment