10 lines
247 B
Plaintext
10 lines
247 B
Plaintext
'use strict';
|
|
|
|
var implementation = require('./implementation');
|
|
|
|
module.exports = function getPolyfill() {
|
|
return typeof Iterator === 'function' && typeof Iterator.prototype.take === 'function'
|
|
? Iterator.prototype.take
|
|
: implementation;
|
|
};
|