1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 esid: sec-%typedarray%.prototype.join
5 description: Return abrupt from ToString(separator)
7 22.2.3.15 %TypedArray%.prototype.join ( separator )
9 %TypedArray%.prototype.join is a distinct function that implements the same
10 algorithm as Array.prototype.join as defined in 22.1.3.13 except that the this
11 object's [[ArrayLength]] internal slot is accessed in place of performing a
14 22.1.3.13 Array.prototype.join (separator)
17 4. Let sep be ? ToString(separator).
18 5. If len is zero, return the empty String.
20 includes: [testTypedArray.js]
21 features: [TypedArray]
25 toString: function() {
26 throw new Test262Error();
30 testWithTypedArrayConstructors(function(TA) {
31 var sample = new TA();
33 assert.throws(Test262Error, function() {