title: Reactjs classes vs javascript classes
body: <p>In JavaScript, we are not allowed to use variables and we can only define methods. Also if we want to initialise a variable, we should do it either in the constructor or the prototype of the class.But in ReactJs we can initialise state outside constructor.</p>
  
  <p>Is ReactJs classes like <code>class A extends React.Component{}</code> different from normal javascript classes?</p>