Sha256: 77be551dd819a39d94c92e3cfd44d5b3baf83dfba5bd810057961266a34c4913

Contents?: true

Size: 762 Bytes

Versions: 6

Compression:

Stored size: 762 Bytes

Contents

'use strict';
var exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;
var fails = require('../internals/fails');
var global = require('../internals/global');

var Uint8Array = global.Uint8Array;
var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};
var arrayToString = [].toString;
var arrayJoin = [].join;

if (fails(function () { arrayToString.call({}); })) {
  arrayToString = function toString() {
    return arrayJoin.call(this);
  };
}

var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;

// `%TypedArray%.prototype.toString` method
// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring
exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/core-js/modules/es.typed-array.to-string.js
tang-0.2.1 spec/tang_app/node_modules/core-js/modules/es.typed-array.to-string.js
tang-0.2.0 spec/tang_app/node_modules/core-js/modules/es.typed-array.to-string.js
tang-0.1.0 spec/tang_app/node_modules/core-js/modules/es.typed-array.to-string.js
tang-0.0.9 spec/tang_app/node_modules/core-js/modules/es.typed-array.to-string.js
enju_library-0.3.8 spec/dummy/node_modules/core-js/modules/es.typed-array.to-string.js