結果 : what is a constructor in javascript explain with an example