1results with tags matching " arrow functions"

Learning React ES6: Arrow Functions and Using ‘This’ Keyword

Today I got to learn how to use arrow functions in React ES6. From what I realized it that they are a much shorter syntax and typically simplifies the function scope making the `this` keyword more understandable. In ES5, the function scope was written like this: function square (x) { return x * x; }; […]

Read More