Question: Create a javascript code to declare an object by declaring a constructor called person with following key/value pairs. firat,Name: John, last Name: Doe, id: 5566

 Create a javascript code to declare an object by declaring a

Create a javascript code to declare an object by declaring a constructor called person with following key/value pairs. firat,Name: "John", last Name: "Doe", id: 5566 Also declare a method named fullname() inside the constructor that will return the complete name(fullnametlastname)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!