problem
i have bit of code keeps throwing syntax error in ie. ran code in jslint didn't me understand issue.
javascript
$('#sub').click(function() { items = my_arr.filter(i => i.percent && i.unit); console.log(items); })
ie 11 (error)
script1002: syntax error file: scripts.js, line: 3346, column: 26
check es6 browser compatibility table.
arrow notation es6 feature , not supported ie.
Comments
Post a Comment