const test = data => data
console.log(test.prototype) // undifined
new test() // TypeError: test is not a constructor
If I use es5 anonymous function such as const test = function(data) {return data};
It works well. Anything different from each other?Why lambda expression doesn't work?