How do I use ...
within IE with the code below? I'm new to using ...
and it's hard for me to convert it so that it works with IE11.
I'm using angularJS here, but the code below isn't working on IE and it's throwing a syntax error at ...new
. Sadly, I can't use babel in this instance.
scope.model.locations = res.sort(function(a, b) {
(a.locationName > b.locationName) ? 1: -1
});
scope.model.jobCategories = [...new Set(scope.model.jobCategories)];