We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9265df9 commit 44ff2c1Copy full SHA for 44ff2c1
README.md
@@ -28,9 +28,9 @@ To solve this problem, you need to define a method.
28
// The is TypeScript code
29
function isEquals(a: ArrayBuffer, b: ArrayBuffer) {
30
if (!(a instanceof ArrayBuffer)) {
31
- throw new TypeError();
+ return false;
32
} else if (!(b instanceof ArrayBuffer)) {
33
34
} else if (a === b) {
35
return true;
36
} else if (a.byteLength !== b.byteLength) {
0 commit comments