I was just looking to clarify how module bindings behave.

What happens in the following example:

export var template = '...template string...';
export var counter = 0;
export var obj = {};

template += 'post-script';
counter++;
obj = { new: 'obj' };

Do these throw an error? Does the exported value change, or does the
internal value change only?

It would be good to make sure we're implementing this right.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to