MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / _sameValue

Function _sameValue

www/js/_hyperscript.esm.js:2954–2956  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2952
2953// src/core/runtime/reactivity.js
2954function _sameValue(a, b) {
2955 return a === b ? a !== 0 || 1 / a === 1 / b : a !== a && b !== b;
2956}
2957var Effect = class {
2958 /**
2959 * @param {() => any} expression - The watched expression

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected