JS constructor use

From , 3 Years ago, written in JavaScript, viewed 86 times.
URL https://pastebin.vip/view/68331ff0
  1. function Person(firstName, lastName){
  2.     this.firstName =  firstName;
  3.     this.lastName = lastName;        
  4. }  
  5.  
  6. var Saad = new Person("Saad", "Mousliki");

Reply to "JS constructor use"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website