The new arrow functions in ES6, are like one-liner functions which make code more clean and concise, and also allow you to keep the scope of the caller inside the function, so that you don’t need to do things like var _this = this;
, or use the bind
function etc.
Are there any significant performance gains in using ES6 arrow functions over plain javascript functions?