How do you extend classes Code snippet: const circle = { radius: 20, diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius };
1 1000What 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 1486What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F; } console.log(y);
1 1210What will be the output of the following code? //nfe (named function expression) var Foo = Function Bar() { return 7; }; typeof Bar();
1 1151
Explain module.exports in node js?
Explain about services in Angular.js ?
Who developed npm?
Is javascript safe to download?
List the differences between observables and promises in angular 2?
how do you declare variables in javascript?
What are the component life cycle methods in reactjs?
How do I use comments within a jsp page?
How to programmatically trigger a click event thats being handled by jquery only?
What are local variables in javascript?
Why we use ng app in angularjs?
Define a form collection?
Which one is better jsp or servlet?
How to redirect a page to another page in javascript?
How do you delete a file using node.js?