Interviewer And Interviewee Guide

Front End Programmer Interview Question:

Explain how to use a function a Class?

Submitted by: Muhammad
function functionName(name) {
this.name = name;
}
// Creating an object
var functionName = new functionName("WTEN");
console.log(functionName.name); //WTEN
Submitted by: Muhammad

Read Online Front End Programmer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.