comment for node/jest polyfill
This commit is contained in:
parent
94935b023b
commit
c872af2fb5
|
@ -1,3 +1,4 @@
|
|||
// Array.flat needs polyfilled in < Node 11
|
||||
if (!Array.prototype.flat) {
|
||||
Object.defineProperty(Array.prototype, "flat", {
|
||||
configurable: true,
|
||||
|
|
Loading…
Reference in New Issue