[webkit-dev] the variable of JavaScript function

zhenghe zhang zhenghe.zhang at gmail.com
Wed Mar 18 18:26:29 PDT 2009

There is a javaScript function, as follow:
Function test()
Var a = 3;
Var b = 2;
There are two variables, and the identifiers will stored in the
identifierTable. When running the function, it will print "5".
When running the code "print(a+b)",it will use "3" to replace "a" and "2"
replace "b". I don't know how to do it through the c++ functions. I hope you
Thank you & best regards

More information about the webkit-dev mailing list