On Mon, May 17, 2010 at 3:27 AM, David Herman <dher...@mozilla.com> wrote:
> This makes it very convenient to reflect them as first-class values:
>
>    var x = Math;
>    alert(x["sum"]); // function(x,y) { ... }
>    alert(x["thisIsNotDefined"]); // undefined
>

Whats the difference between:
var x = Math; // or: const x = Math;

And:
module x = Math;

Thanks.
--
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to