title: JavaScript: Public, Private, Protected
body: <p>I always thought "Public", "Private", and "Protected" keywords were for PHP or Java, not JavaScript but just found out these are reserved words.</p>
  
  <p>Can anyone give me an example of how or when to use these particular reserved words because I have never seen or used them in JavaScript but would like to know when to use them.</p>
  
  <p>Thank you</p>