No subject


Thu Dec 10 21:37:41 PST 2009


6. The top level binding of this in an evaled Program is not the global
object, but rather a frozen root object containing just the globals defined
in the ES5 spec.

--0016e6d7ea69282853047ccbdaa5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

There could be some useful overlap with the=A0<span style=3D"font-family:ar=
ial, sans-serif;font-size:13px;border-collapse:collapse"><a href=3D"http://=
code.google.com/p/es-lab/wiki/SecureEcmaScript" style=3D"color:rgb(42, 93, =
176)" target=3D"_blank">http://code.google.com/p/es-lab/wiki/SecureEcmaScri=
pt</a></span>=A0proposal and modules.=A0<div>


<br></div><div>The restricted eval (esp #6) could be the core mechanism of =
a module system.</div><div><br></div><div>From SecureEcmaScript proposal:</=
div><div><span class=3D"Apple-style-span" style=3D"font-family: arial, sans=
-serif; font-size: 13px; ">6. The top level binding of=A0<tt>this</tt>=A0in=
 an evaled Program is not the global object, but rather a frozen root objec=
t containing just the globals defined in the ES5 spec.</span></div>
<div><br></div><div>

<br><br><br><br></div>

--0016e6d7ea69282853047ccbdaa5--


More information about the es-discuss mailing list