(val)
| 7538 | } |
| 7539 | |
| 7540 | function cloneArrayBuffer(val) { |
| 7541 | const res = new val.constructor(val.byteLength); |
| 7542 | new Uint8Array(res).set(new Uint8Array(val)); |
| 7543 | return res; |
| 7544 | } |
| 7545 | |
| 7546 | function cloneTypedArray(val, deep) { |
| 7547 | return new val.constructor(val.buffer, val.byteOffset, val.length); |
no outgoing calls
no test coverage detected
searching dependent graphs…