mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
252 B
TypeScript
15 lines
252 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/Protected/Protected9.ts] ////
|
|
|
|
//// [Protected9.ts]
|
|
class C {
|
|
constructor(protected p) { }
|
|
}
|
|
|
|
//// [Protected9.js]
|
|
"use strict";
|
|
class C {
|
|
constructor(p) {
|
|
this.p = p;
|
|
}
|
|
}
|