Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
742 B
17 lines
742 B
1 year ago
|
'use strict';
|
||
|
var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
|
||
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');
|
||
|
|
||
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
||
|
var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;
|
||
|
|
||
|
// `%TypedArray%.of` method
|
||
|
// https://tc39.es/ecma262/#sec-%typedarray%.of
|
||
|
exportTypedArrayStaticMethod('of', function of(/* ...items */) {
|
||
|
var index = 0;
|
||
|
var length = arguments.length;
|
||
|
var result = new (aTypedArrayConstructor(this))(length);
|
||
|
while (length > index) result[index] = arguments[index++];
|
||
|
return result;
|
||
|
}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
|