(a, b)
| 182 | } |
| 183 | |
| 184 | function areSimilarFloatArrays(a, b) { |
| 185 | const len = getByteLength(a); |
| 186 | if (len !== getByteLength(b)) { |
| 187 | return false; |
| 188 | } |
| 189 | for (let offset = 0; offset < len; offset++) { |
| 190 | if (a[offset] !== b[offset]) { |
| 191 | return false; |
| 192 | } |
| 193 | } |
| 194 | return true; |
| 195 | } |
| 196 | |
| 197 | function areSimilarTypedArrays(a, b) { |
| 198 | return a.byteLength === b.byteLength && compare(a, b) === 0; |
no test coverage detected
searching dependent graphs…