MCPcopy
hub / github.com/jlmakes/scrollreveal / polyfill

Function polyfill

src/polyfills/math-sign.js:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export const polyfill = x => (x > 0) - (x < 0) || +x
2export default Math.sign || polyfill

Callers 1

math-sign.spec.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected