Littlombie's Nirvana

Novelty is the great parent of pleasure.


  • Home

  • Archives53

  • Tags31

  • About

  • Nirvana

ES6学习(14)- Promise

Posted on 2019-08-21 | In ES6

Promise 概念

Promise 是异步编程的解决方案

什么是异步

有一个函数A ,A执行完后执行B,
异步方式有:

  • 回调方式,
  • 事件触发

Promise 不同于以上两种方式

Promise 的作用

用来解决异步操作的解决方法

Read more »

ES6学习(13)- 类与对象

Posted on 2019-08-21 | In ES6

类

类的概念

- - -
基本语法 类的继承 静态方法
静态属性 getter setter

class 基本定义和生成实例

Read more »

ES6学习(12)- Proxy和Reflect

Posted on 2019-08-21 | In ES6

Proxy和Reflect的概念

Proxy对象

代理

生成对象: new Proxy();

Read more »

ES6学习(11)- map-set与数组和对象的比较

Posted on 2019-08-21 | In ES6

Map 与Array的对比

Read more »
123…14
Littlombie

Littlombie

Said less to do more!

53 posts
11 categories
31 tags
RSS
GitHub Weibo Zhihu webSite
Creative Commons
© 2020 Littlombie
Powered by Hexo v3.9.0
|
Theme – NexT.Mist v6.4.2