comment for node/jest polyfill

This commit is contained in:
Michael Shanks 2020-08-27 10:34:44 +01:00
parent f16a29792c
commit d43de3ce60
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) { if (!Array.prototype.flat) {
Object.defineProperty(Array.prototype, "flat", { Object.defineProperty(Array.prototype, "flat", {
configurable: true, configurable: true,