Tag: es2015

0

Promise || Async/Await

callback방식 1234567891011function asyncFunction(callback) { setTimeout(function() { if (callback) callback(1); }, 1000);}function caller() { asyncFunction(function(returnV