| Index: src/arraybuffer.js
|
| diff --git a/src/arraybuffer.js b/src/arraybuffer.js
|
| index 86b13927aa42071d091dbae4a200bbd9a5f8666b..2a6ef8029753194f67dce54cb3dfc924ae583f6d 100644
|
| --- a/src/arraybuffer.js
|
| +++ b/src/arraybuffer.js
|
| @@ -24,8 +24,8 @@ function ArrayBufferConstructor(length) { // length = 1
|
|
|
| function ArrayBufferGetByteLen() {
|
| if (!IS_ARRAYBUFFER(this)) {
|
| - throw MakeTypeError('incompatible_method_receiver',
|
| - ['ArrayBuffer.prototype.byteLength', this]);
|
| + throw MakeTypeError(kIncompatibleMethodReceiver,
|
| + 'ArrayBuffer.prototype.byteLength', this);
|
| }
|
| return %_ArrayBufferGetByteLength(this);
|
| }
|
| @@ -33,8 +33,8 @@ function ArrayBufferGetByteLen() {
|
| // ES6 Draft 15.13.5.5.3
|
| function ArrayBufferSlice(start, end) {
|
| if (!IS_ARRAYBUFFER(this)) {
|
| - throw MakeTypeError('incompatible_method_receiver',
|
| - ['ArrayBuffer.prototype.slice', this]);
|
| + throw MakeTypeError(kIncompatibleMethodReceiver,
|
| + 'ArrayBuffer.prototype.slice', this);
|
| }
|
|
|
| var relativeStart = TO_INTEGER(start);
|
|
|