score:7

Accepted answer

The error is occurring because, Object.values() is not supported in Internet Explorer.

see browser compatibility for Object.values()

Here is a workaround, that you could use instead ...

data: Object.keys(activeOrdered).map(function(key) {return activeOrdered[key];})

and ...

data: Object.keys(inactiveOrdered).map(function(key) {return inactiveOrdered[key];})

Related Query

More Query from same tag