Guy Bedford 3fa4f53d0a System module format - fixes function hoisting failure case (#8820)
* failing test case

* fix function hoist bug
2018-10-07 23:30:02 -04:00

18 lines
300 B
JavaScript

System.register([], function (_export, _context) {
"use strict";
var testProp;
function testFunc() {
return 'test function';
}
_export("testFunc", testFunc);
return {
setters: [],
execute: function () {
_export("testProp", testProp = 'test property');
}
};
});