You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letelem1,elem2;// document.forms is an HTMLCollectionelem1=document.forms[0];elem2=document.forms.item(0);alert(elem1===elem2);// shows: "true"elem1=document.forms.myForm;elem2=document.forms.namedItem("myForm");alert(elem1===elem2);// shows: "true"elem1=document.forms["named.item.with.periods"];
jsruntime-lib should allow to implement the array like syntax (getter and setter) with a native struct.
The text was updated successfully, but these errors were encountered:
Many DOM objects like
HTMLCollection
[1] supports array like usage with square bracketsExample from MDN
jsruntime-lib should allow to implement the array like syntax (getter and setter) with a native struct.
The text was updated successfully, but these errors were encountered: