Guy Bedford (2014-06-23T21:30:27.000Z)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140623/823ea9ff/attachment.html>
domenic at domenicdenicola.com (2014-06-26T15:26:51.851Z)
I was just looking to clarify how module bindings behave.

What happens in the following example:

```js
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.