comment for node/jest polyfill
This commit is contained in:
parent
f16a29792c
commit
d43de3ce60
|
@ -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