main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
479 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var $transfer = require('../internals/array-buffer-transfer');
|
---|
4 |
|
---|
5 | // `ArrayBuffer.prototype.transferToFixedLength` method
|
---|
6 | // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength
|
---|
7 | if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
---|
8 | transferToFixedLength: function transferToFixedLength() {
|
---|
9 | return $transfer(this, arguments.length ? arguments[0] : undefined, false);
|
---|
10 | }
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.