-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcode.js
33 lines (30 loc) · 958 Bytes
/
code.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function Client(FirstName,LastName,Email,Seller,City,MobileNo,Profile,Password){
this.Fname = FirstName;
this.Lname = LastName;
this.mail = Email;
this.seller =Seller;
this.city =City;
this.number =MobileNo;
this.profileimg =Profile;
this.password =Password;
this.Seller_Info =function(){
document.write(`${FirstName} ${LastName}` +'<br>');
document.write(`${Email}` +"<br>");
document.write(`${MobileNo}` +"<br>");
}
this.firstname =function(){
document.write(`Your first name is ${FirstName}`);
}
this.lastname =function(){
document.write(`Your last name is ${LastName}`);
}
this.last_password =function(){
document.write(`Your last password is ${Password}`)
}
}
function Update(fname,lname){
this.change =function(){
this.FirstName =fname;
this.LastName =lname;
}
}