Hi,

how to call the javascript methods from v8?

i wrote one function in javascript.I want call that function from
v8.could you please give the solution.

for example:I wrote the code in js  file below:

function JS_fun(num) {
   var JS_Dial = {};

   JS_Dial.fun_name    = "sum";
   JS_Dial.phonenum    = num;

   var JSON_Str = JSON.stringify(JS_Dial);
   print(JSON_Str);
}

here JS_fun() is implemented in javascript.i need how call this
JS_fun() from v8.


Regards,
swathi.

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to