16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
//// [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 () {
|
|
function test() {
|
|
}
|
|
return test;
|
|
})();
|