How do you extend classes Code snippet: const circle = { radius: 20, diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius };
1 1299What is the output of below code var car = new Vehicle("Honda", "white", "2010", "UK"); console.log(car); function Vehicle(model, color, year, country) { this.model = model; this.color = color; this.year = year; this.country = country; }
1 1842What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;
} console.log(y); 1 1520What will be the output of the following code? //nfe (named function expression) var Foo = Function Bar() { return 7; }; typeof Bar();
1 1439
What can I build with javascript?
What is spread operator?
How to shift and unshift using javascript?
Which built-in method returns the string representation of the number’s value?
Is javascript pure object oriented?
Why do we need javascript?
How to get the last index of a string in javascript?
a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.
List some design patterns in javascript?
What is the use of a weakmap object in javascript?
What is the difference between innerhtml & innertext?
Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).
How to associate functions with objects using javascript?
What is a function constructor?
How can we establish connection with java and sql server?