Skip to content

Commit 548a3b2

Browse files
authored
Merge pull request #106 from rickyvetter/patch-2
Use static Object.hasOwn
2 parents 058036f + 1bc3ab8 commit 548a3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/wasm/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
new: (c, args) => new c(...args),
158158
global_this: globalThis,
159159
iter_props: (o, f) => {
160-
for (var nm in o) if (o.hasOwn(nm)) f(nm);
160+
for (var nm in o) if (Object.hasOwn(o, nm)) f(nm);
161161
},
162162
array_length: (a) => a.length,
163163
array_get: (a, i) => a[i],

0 commit comments

Comments
 (0)