2015-02-03 00:30:33 +01:00
|
|
|
//// [constructorStaticParamNameErrors.ts]
|
|
|
|
'use strict'
|
|
|
|
// static as constructor parameter name should give error if 'use strict'
|
|
|
|
class test {
|
|
|
|
constructor (static) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [constructorStaticParamNameErrors.js]
|
|
|
|
'use strict';
|
|
|
|
// static as constructor parameter name should give error if 'use strict'
|
|
|
|
var test = (function () {
|
2015-04-09 02:49:14 +02:00
|
|
|
function test(static) {
|
2015-02-03 00:30:33 +01:00
|
|
|
}
|
|
|
|
return test;
|
|
|
|
})();
|