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.drop === 'function'
|
||
|
? Iterator.prototype.drop
|
||
|
: implementation;
|
||
|
};
|