JS: Add some lines in test case

This commit is contained in:
Asger Feldthaus
2020-03-08 09:31:50 +00:00
parent 3e68072e38
commit a7e337ab28
2 changed files with 758 additions and 742 deletions

View File

@@ -361,6 +361,22 @@ function mergePlainObjectsOnly(target, source) {
return target;
}
function forEachProp(obj, callback) {
for (let key in obj) {
if (obj.hasOwnProperty(key)) {