0 votes
159 views
in MEAN by (0 points)
closed by
What is the output of the below code snippet when executed?

let Employee = function (empno, empname, age, salary) {

this.empno-empno;

this.empname-empname;

this.age-age;

this.salary-salary,

this. displayEmployee =funcfion()(

console.log("Hello");

}

var emp1 = new Employee(2222,"Anil",33,4567.77); emp1.displayEmployee();
closed

1 Answer

0 votes
by (0 points)
 
Best answer
The code produces the output "Hello"

Related questions

0 votes
1 answer 138 views
0 votes
1 answer 106 views
asked Jun 4, 2023 in MEAN by Admin (0 points)
0 votes
1 answer 109 views
0 votes
1 answer 94 views

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...