04 2018 档案

摘要:Object Literal Extensions.md Declaring price and quantity twice is kind of redundant,but es6 provides a shorthand making writing this simpler. ES6 als 阅读全文
posted @ 2018-04-25 09:44 Hecdi 阅读(137) 评论(0) 推荐(0)
摘要:Rest and Spread Operators.md Why we need rest and spread operators? instanceof The instanceof operator tests whether the prototype property of a const 阅读全文
posted @ 2018-04-19 08:37 Hecdi 阅读(108) 评论(0) 推荐(0)
摘要:sublime preview html.md open In Browser what should we do if we want to preview html file in our browser? We can install a plugin called "Open In Brow 阅读全文
posted @ 2018-04-18 16:08 Hecdi 阅读(183) 评论(0) 推荐(0)
摘要:Default Function Parameters.md Default Function Parameters In ES5,if the argument is not specified,its value would be set to undefined . if we do this 阅读全文
posted @ 2018-04-17 23:28 Hecdi 阅读(134) 评论(0) 推荐(0)
摘要:Arrow Function.md Arrow Functions The basic syntax of an arrow function is as follows The code means : How create IIFEs using arrow function? Why we u 阅读全文
posted @ 2018-04-16 20:52 Hecdi 阅读(189) 评论(0) 推荐(0)
摘要:![](https://images2018.cnblogs.com/blog/1179506/201804/1179506-20180414201303041-290579664.png) ![](https://images2018.cnblogs.com/blog/1179506/201804/1179506-20180414201331083-2087613836.png) ![](htt... 阅读全文
posted @ 2018-04-14 20:16 Hecdi 阅读(314) 评论(0) 推荐(0)
摘要:variable declarations : let, const,and block scope why we redefine the way about declarations? function scope The next we can use IIFE to check var va 阅读全文
posted @ 2018-04-14 20:05 Hecdi 阅读(148) 评论(0) 推荐(0)