Alternative version for Object.values()

前端 未结 11 1719
花落未央
花落未央 2020-11-28 06:13

I\'m looking for an alternative version for the Object.values() function.
As described here the function is not supported in Internet Explorer.

When

11条回答
  •  醉梦人生
    2020-11-28 06:55

    If you are already using core-js (e.g. by using Angular) you can just import the according polyfill:

       import 'core-js/es7/object';
    

提交回复
热议问题