Alex Khizhnyi

Results 4 comments of Alex Khizhnyi

prepared an example: https://jsfiddle.net/mendler/u70pnygv/ chrome, firefox and safari give different results for "height" as seen in red border, and the same for the blue border. this is important for vertical...

i created a benchmark on another platform, https://jsbench.me/a4lpr3txxo/1 also tested it on Win11 and Mac. could you please check it

yeah, checked it on M1 in Safari. It seems faster, will investigate further into this.

I updated the benchmark at https://jsben.ch/IWqVX. Object.values performs significantly better, and to support incompatible browsers, we can write a polyfill function.