Sha256: c90256bb3122ddb358097841b89f5871487abc28a687c9e0db38e0f1700a09ac

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

(function(global, utils) {
  "use strict";
  %CheckIsBootstrapping();

  var GlobalObject = global.Object;
  var IteratorPrototype = utils.ImportNow("IteratorPrototype");
  var iteratorSymbol = utils.ImportNow("iterator_symbol");

  // 25.1.2.1 %IteratorPrototype% [ @@iterator ] ( )
  function IteratorPrototypeIterator() {
    return this;
  }

  utils.SetFunctionName(IteratorPrototypeIterator, iteratorSymbol);
  %AddNamedProperty(IteratorPrototype, iteratorSymbol,
      IteratorPrototypeIterator, DONT_ENUM);
})

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/deps/v8/src/js/iterator-prototype.js
node-compiler-0.9.0 vendor/node-v7.2.1/deps/v8/src/js/iterator-prototype.js
node-compiler-0.8.0 vendor/node-v7.2.0/deps/v8/src/js/iterator-prototype.js
node-compiler-0.7.0 vendor/node-v6.9.1/deps/v8/src/js/iterator-prototype.js
node-compiler-0.7.0 vendor/node-v7.1.0/deps/v8/src/js/iterator-prototype.js