title: Is there a JavaScript function like PHP‘s exit()?
body: <p>I need to stop my script. I don't want to write more code like <code>if(...) return false</code> because I will use it many times.</p>
  
  <p>My English is poor. It's my first question on this site.  :)</p>