天天看点

React——ES6知识补充

文章目录

      • 一、用bind() 函数绑定 this 取值
      • 二、使用箭头函数使得this指向原来类
      • 三、 数组和对象的展开
      • 四、 Named Export 与 Default Export

一、用bind() 函数绑定 this 取值

const person = {
   
  name: "yjx",
  talk: function() 
           

继续阅读