title: I am trying to run simple typescript program but I getting error in runtime
body: <pre><code>class FirstProgram {
      name:string = &quot;abc&quot;
  }
  
  let fp = new FirstProgram()
  console.log(fp.name)
  </code></pre>
  <p>**</p>
  <pre><code>PS E:\typescript&gt; tsc FirstProgram.ts
  PS E:\typescript&gt; node FirstProgram.ts
  E:\typescript\FirstProgram.ts:3
      name:string = &quot;abc&quot;
  
  
  SyntaxError: Unexpected identifier
  [90m    at wrapSafe (internal/modules/cjs/loader.js:1054:16)?[39m
  [90m    at Module._compile (internal/modules/cjs/loader.js:1102:27)?[39m
  [90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)?[39m
  [90m    at Module.load (internal/modules/cjs/loader.js:986:32)?[39m
  [90m    at Function.Module._load (internal/modules/cjs/loader.js:879:14)?[39m
  [90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)?[39m
  [90m    at internal/main/run_main_module.js:17:47?[39m
  </code></pre>
  <p>**
  I am able to compile this code but getting error at the run time. May I know the solution for this?</p>