I
I
i_want_to_know_everything2017-08-13 16:12:30
JavaScript
i_want_to_know_everything, 2017-08-13 16:12:30

IE 11 JS syntax error?

IE swears at a syntax error, other browsers are ok, what's wrong here?
var sum = prices.reduce((a, b) => a + b, 0);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2017-08-13
@i_want_to_know_everything

They say IE doesn't support arrow functions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question