Day 7 of Vue.js

More ES6


Promise is like a placeholder or holding spot for something that has not taken place yet.
You can call promise.then(function(){}) to execute something when it is done or use promise.catch(function(){}) to catch errors that might be spit to you.
Using Promise can save you from the ‘callback hell’ that are in a lot of javascripts.

##String Manipulation



Values in the set are distinct.
One of the most useful thing about set is to eliminate duplicates.

Leave a Reply

Your email address will not be published. Required fields are marked *