| |||||||||||||||||||||||||||||
|
Hello, I was tryin to get nsIMutableArray to work from my extension but could not do it. My code is as follows: var testArray = Components.classes["@mozilla.org/array;1"].createInstance(Components.interfaces. nsIMutableArray); testArray.appendElement("abc", true); alert(testArray.length); Could anyone tell me what is the error, as I never get an alert. Thanks... -- View this message in context: http://www.nabble.com/Cannot-work-with-the-nsIMutableArray-in-Javasript.-tp14782 258p14782258.html Sent from the Mozilla - General mailing list archive at Nabble.com. _______________________________________________ general mailing list general https://lists.mozilla.org/listinfo/general
| ||||||||||||||||||||||||||||
© 2004-2008 readlist.com