箭头函数 箭头函数箭头函数不能用于构造函数(即:不能通过new运算符来操作箭头函数生成实例对象)。 var fn = () => {}new fn()// TypeError: fn is not a constructor 箭头函数没有原型对象,原型对象为undefined。 var fn = () => {}fn.prototype// undefined