Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Availability


Netscape 3, Internet Explorer 4


Synopsis

public Object eval(String s)

Arguments


s

A string that contains arbitrary JavaScript statements separated by
semicolons.


Returns


The JavaScript value of the last expression evaluated in
s, converted to a Java object.


Description


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 behavior of the eval(
) method of the Java JSObject class is much like that of
the JavaScript global eval( ) function.

The argument s may contain any number of
JavaScript statements separated by semicolons; these statements are
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.

/ 844