Hi Dave & Sam,

Could you please add to your examples the following case: a module
which keeps an internal counter of how many times one of its methods
is called. In other words, in the body of the module, there is
something like:

    var i = 0;
    export function get() { return i++; }

Could you also please add an example where the variable "i" is
initialized to a value supplied by the module importer?

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to