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
Array push function seems undefined.
A simple script like this :
out = new Array();
out.push();
gives the following error:
ReferenceError: push is undefined at Line:2 Column:9
the c++ code I use for this is the following(from the samples):
void test()
{
CTinyJS *js = new CTinyJS();
try {
js->execute(GetCode());
} catch (CScriptException *e) {
printf("%s\n", e->toString().c_str());
}
}
I am using 42tiny-js.
compiler : Visual Studio 2012
OS: Windows 7 (64 bit)
I am trying this library for the first time. Am I missing something simple.
Regards
Original issue reported on code.google.com by mertbuyu...@gmail.com on 11 Apr 2013 at 11:53
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
mertbuyu...@gmail.com
on 11 Apr 2013 at 11:53The text was updated successfully, but these errors were encountered: