is-implemented.js 186 B

1234567
  1. 'use strict';
  2. module.exports = function () {
  3. var arr = [1, 2, 3, 4, 5, 6];
  4. if (typeof arr.fill !== 'function') return false;
  5. return String(arr.fill(-1, -3)) === '1,2,3,-1,-1,-1';
  6. };