BVB Source Codes

reactide Show es6.array.of.js Source code

Return Download reactide: download es6.array.of.js Source code - Download reactide Source code - Type:.js
  1. 'use strict';
  2. var $export        = require('./_export')
  3.   , createProperty = require('./_create-property');
  4.  
  5. // WebKit Array.of isn't generic
  6. $export($export.S + $export.F * require('./_fails')(function(){
  7.   function F(){}
  8.   return !(Array.of.call(F) instanceof F);
  9. }), 'Array', {
  10.   // 22.1.2.3 Array.of( ...items)
  11.   of: function of(/* ...args */){
  12.     var index  = 0
  13.       , aLen   = arguments.length
  14.       , result = new (typeof this == 'function' ? this : Array)(aLen);
  15.     while(aLen > index)createProperty(result, index, arguments[index++]);
  16.     result.length = aLen;
  17.     return result;
  18.   }
  19. });
downloades6.array.of.js Source code - Download reactide Source code
Related Source Codes/Software:
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top