How do you extend classes
Code snippet:
const circle = {
radius: 20,
diameter() {
return this.radius * 2;
},
perimeter: () => 2 * Math.PI * this.radius
};
Describe javascript and vbscript.
What is meant by vanilla javascript?
What is use strict in javascript?
What is enum data type?
Can we create session in javascript?
Hai what is the difference between java and javascript
Is java is a fully object object oriented language?
Explain arrow functions?
What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??
Which built-in method adds one or more elements to the end of an array and returns the new length of the array?
Why typeof null is object?
what is the difference between window & document in javascript?