Skip to content

Commit

Permalink
Runtime: fix caml_ojs_iterate_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Mar 4, 2024
1 parent a10b92f commit 682e109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/wasm/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
new_obj:()=>({}),
new:(c,args)=>new c(...args),
global_this:globalThis,
iter_props:(o,f)=>{for (var nm in o) if(o.hasOwnsProperty(nm)) f(nm)},
iter_props:(o,f)=>{for (var nm in o) if(o.hasOwnProperty(nm)) f(nm)},
array_length:(a)=>a.length,
array_get:(a,i)=>a[i],
array_set:(a,i,v)=>a[i]=v,
Expand Down

0 comments on commit 682e109

Please sign in to comment.