two bugfixes

This commit is contained in:
Erik Krogh Kristensen
2020-03-09 16:45:03 +01:00
parent 0f0187d585
commit b4b05696e1
3 changed files with 20 additions and 3 deletions

View File

@@ -39,4 +39,10 @@
arr6[i] = arr5[i];
}
sink(arr6.pop()); // NOT OK
Array.from("source").forEach((e, i, ary) => {
sink(ary.pop()); // NOT OK
sink(ary); // OK - its the array itself, not an element.
})
});