I am looking for an alternative version for the Object.values() function.
As described , features are not supported in Internet Explorer.
When executing the following code example:
var obj = { foo: 'bar', baz: 42 }; console.log(Object.values(obj));
It works in both Firefox and Chrome, but the following error appears in IE11:
Object does not support property or method values
Here you can test it: Fiddle .
So what would be a quick fix?
javascript browser internet-explorer ecmascript-6
user1170330 Mar 16 '17 at 9:39 on 2017-03-16 09:39
source share