.fill is not defined in IE
See original GitHub issue.fill
is not defined in IE, throwing a JS error. It may need a polyfill
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
fill() not supported in IE11 - Stack Overflow
The fill() command is not supported in Internet explorer. Is there any work around for fill() alone or should I rewrite whole syntax....
Read more >in operator - JavaScript - MDN Web Docs - Mozilla
The in operator returns true if the specified property is in the specified object or its prototype chain.
Read more >JavaScript Array fill() Method - W3Schools
The fill() method fills specified elements in an array with a value. The fill() method overwrites the original array. Start and end position...
Read more >JavaScript Array fill() Method - GeeksforGeeks
The Javascript arr.fill() method is used to fill the array with a given ... If this value is not defined the starting index...
Read more >fill an array using JavaScript: Different methods & examples
1. Syntax: array.fill(value, start, end) 2. Using this does not have any specific advantage over the previous method, apart from the ability to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://jsperf.com/fill-alternate-tests-2
Not sure if I’m setting these up correctly, but if so the push.apply is the quickest alternative.
That being said, @DamonOehlman is right in that it may be undefined/null.
Edit: PR Updated
Merged and published as
1.6.2
.