* Correct update expression Number coercion You have to `ToNumber` whatever the `UpdateExpression` argument is. * Fix systemjs update expression
28 lines
331 B
JavaScript
28 lines
331 B
JavaScript
System.register([], function (_export, _context) {
|
|
"use strict";
|
|
|
|
var c;
|
|
|
|
function a() {
|
|
alert("a");
|
|
_export("c", +c + 1), c++;
|
|
}
|
|
|
|
_export("a", a);
|
|
|
|
function b() {
|
|
a();
|
|
}
|
|
|
|
return {
|
|
setters: [],
|
|
execute: function () {
|
|
_export("c", c = 5);
|
|
|
|
_export("c", c);
|
|
|
|
b();
|
|
}
|
|
};
|
|
});
|