3 ms·
The snippet for fetching performance numbers is useful but it's cargo culting (ie, using incorrectly and needlessly) Number.EPSILON [1], besides not using the b
by andromaton 3y ago
The snippet for fetching performance numbers is useful but it's cargo culting (ie, using incorrectly and needlessly) Number.EPSILON [1], besides not using the built in toFixed(2)
How universal is the drive to try to keep others from making needless mistakes?
[1] "FCP is " +Math.round((fcp + Number.EPSILON) * 100) / 100