[webkit-dev] the variable of JavaScript function
x yz
lastguy at yahoo.com
Thu May 7 11:34:03 PDT 2009
I don't understand your question. pls don't ask this kind of question on webkit dev site, it is not related.
rgds
joe
--- On Thu, 3/19/09, zhenghe zhang <zhenghe.zhang at gmail.com> wrote:
> From: zhenghe zhang <zhenghe.zhang at gmail.com>
> Subject: [webkit-dev] the variable of JavaScript function
> To: webkit-dev at lists.webkit.org
> Date: Thursday, March 19, 2009, 9:26 AM
> Hi
> There is a javaScript function, as follow:
> Function test()
> {
> Var a = 3;
> Var b = 2;
> Print(a+b);
> }
> 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
> tell!
> Thank you & best regards
> zhang
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
More information about the webkit-dev
mailing list