Part of the netscape.javascript package included with Navigator 3.0
public Object eval(String s)
A string that contains arbitrary JavaScript statements, separated by semicolons.
The JavaScript value of the last expression evaluated in s, converted to a Java object.
The eval() method of the Java JSObject class evaluates the JavaScript code contained in the String s in the context of the JavaScript object specified by the JSObject. The eval() method of the Java JSObject class behaves just like the eval() method of the JavaScript Object "class."
The argument s may contain any number of JavaScript statements, separated by semicolons; these statements will be executed in the order in which they appear. The return value of eval() is the value of the last statement or expression evaluated in s.
file: /Techref/language/java/script/definitive/refp_186.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/12/23 09:53,
3.145.88.111:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/language/java/script/definitive/refp_186.htm"> [Chapter 21] Reference: JSObject.eval()</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.