How do you extend classes
Code snippet:
const circle = {
radius: 20,
diameter() {
return this.radius * 2;
},
perimeter: () => 2 * Math.PI * this.radius
};
what data type javascript supports?
What is var and let in javascript?
What makes something a function?
What is a reverse string?
How do I turn on javascript in google chrome?
Which type of variable among global and local, takes precedence over other if names are same?
Which operator is used to assign a value to a variable?
How do you create a new object in JavaScript?
Why is javascript not oop?
just for testing
how do you declare variables in javascript?
Is JavaScript a case-sensitive language?