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

Function _sameValue

www/js/_hyperscript-max.js:2955–2957  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

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

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected