Accessing members of a jsclass Set in javascript -
how can specific element set in jclass set. there how add not how get. if try
var oo = new set([2,4,6,8]); alert("ok?"+oo.get(2));
i'v tryed acces array
var oo = new set([2,4,6,8]); alert("ok?"+oo[2]);
both of them failed
make use of .toarray()
var oo = new set([2,4,6,8]); alert("ok?"+oo.toarray()[0]);
Comments
Post a Comment