箭头函数

 

    // 面试题
        var obj = {
            age: 20,
            say: () => {
                console.log(this.age);    // this 指向的是 window 所以是 undefined      
            }
        } 
        obj.say(); // undefined      
原文地址:https://www.cnblogs.com/ericblog1992/p/13072826.html