How do you extend classes Code snippet: const circle = { radius: 20, diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius };
1 650What 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 854What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;
} console.log(y); 1 853What will be the output of the following code? //nfe (named function expression) var Foo = Function Bar() { return 7; }; typeof Bar();
1 812
Differentiate between real dom and virtual dom?
What is the use of @viewchild?
What is the use of method – “spawn()”?
How are observers and callbacks different from each other?
How to handle mobile browsers/devices events in AngularJS?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What are the scopes available in
Why is it necessary to capitalize component names?
What is the difference between constructor and ngonlnit in angular js?
How to use newtonsoft or json.net for serializing json data?
What is the difference between React Component and React Element?
What are the expressions in angularjs?
How do you get the attribute of an html tag in jquery?
How long does it take to learn javascript?
What is session setattribute?