var PI, __out = typeof exports != 'undefined' && exports || this;
__import(__out, PI = 3.14);
function __import(obj, src){
var own = {}.hasOwnProperty;
for (var key in src) if (own.call(src, key)) obj[key] = src[key];
return obj;
}
We shouldn't depend on the __import runtime function to export a constant.
I expect to be able to write:
However this yields:
I noticed that I can do:
However this results in the javascript code:
We shouldn't depend on the __import runtime function to export a constant.