comment for node/jest polyfill

This commit is contained in:
Michael Shanks 2020-08-27 10:34:44 +01:00
parent 94935b023b
commit c872af2fb5
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// Array.flat needs polyfilled in < Node 11
if (!Array.prototype.flat) {
Object.defineProperty(Array.prototype, "flat", {
configurable: true,