title: Javascript optional type hinting
body: <p>When a programming language is statically typed, the compiler can be more precise about memory allocation and thus be generally more performant (with all other things equal).</p>
  
  <p>I believe ES4 introduced optional type hinting (from what I understand, Adobe had a huge part in contributing to its spec due to actionscript).  Does javascript officially support type hinting as a result?  Will ES6 support optional type hinting for native variables?</p>
  
  <p>If Javascript does support type hinting, are there any benchmarks that show how it pays off in terms of performance?  I have not seen an open source project use this yet.</p>