title: window.orientation is not working in javascript
body: <p>in JavaScript</p>
  
  <p>my code is like that</p>
  
  <pre><code>var orientation = window.orientation
   alert(orientation)
  </code></pre>
  
  <p>I'm getting orientation as undefined</p>