source: imaps-frontend/node_modules/core-js/modules/es.array.to-reversed.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 547 bytes
RevLine 
[79a0317]1'use strict';
2var $ = require('../internals/export');
3var arrayToReversed = require('../internals/array-to-reversed');
4var toIndexedObject = require('../internals/to-indexed-object');
5var addToUnscopables = require('../internals/add-to-unscopables');
6
7var $Array = Array;
8
9// `Array.prototype.toReversed` method
10// https://tc39.es/ecma262/#sec-array.prototype.toreversed
11$({ target: 'Array', proto: true }, {
12 toReversed: function toReversed() {
13 return arrayToReversed(toIndexedObject(this), $Array);
14 }
15});
16
17addToUnscopables('toReversed');
Note: See TracBrowser for help on using the repository browser.