title: babeljs is not working?
body: <p>I've installed Babeljs by using</p>
  
  <blockquote>
    <p>sudo npm install -global babel-cli</p>
  </blockquote>
  
  <p>my test ES6 file contain</p>
  
  <blockquote>
    <p>let name = 'Teh';</p>
    
    <p>console.log(name);</p>
  </blockquote>
  
  <p>and then , i try to compiled ES6 by using (ref. hxxps://babeljs.io/docs/usage/cli/)</p>
  
  <blockquote>
    <p>babel test.js</p>
  </blockquote>
  
  <hr>
  
  <p>The output of babel has not been complied.</p>
  
  <p><a href="http://i.stack.imgur.com/5TEAe.png" rel="nofollow">Please see the image , "let" should be converted to "var"</a></p>
  
  <p>Did i do something wrong? Please help me to solve this problem , i'm a new in ES6.</p>
  
  <p>Thank you.</p>
  
  <p>**Sorry for my bad English.</p>
  
  <p>-- Update</p>
  
  <p><a href="http://i.stack.imgur.com/7dmW1.png" rel="nofollow">Try to specified the output file : babel test.js --out-file test-compiled.js</a></p>