Scripts Interview Questions
Questions Answers Views Company eMail

How do you extend classes Code snippet: const circle = { radius: 20, diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius };

1 1026

Can you write a random integers function to print integers with in a range?

1 1130

What 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 1518

Event handler Example

1 896

What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F; } console.log(y);

1 1244

What will be the output of the following code? //nfe (named function expression) var Foo = Function Bar() { return 7; }; typeof Bar();

1 1179

What is a “closure” in JavaScript? Provide an example

1 1002

What is the difference between let, const, and var?

1 271

Explain the difference between == and === in JavaScript.

1 215

What is the difference between synchronous and asynchronous JavaScrip

1 273

What is the event loop in JavaScript?

1 281

What is a Promise in JavaScript?

1 260

What is this in JavaScript?

1 232

What is call(), apply(), and bind()?

1 251

What is new in Angular 8?

1 499


Un-Answered Questions { Scripts }

What are the benefits of using node.js?

388


What is a callback url?

732


How to disable/enable an element in jquery?

675


What is xmlhttprequest object in ajax?

816


What is the benefit of angular?

541


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1669


How to control how long an ajax request may last?

699


What does file test operators do in perl?

711


What does pipe do in rxjs?

574


How are custom tags in jsp created?

704


What is rake?

651


What is the use of jstl tags in jsp?

752


What is the difference between render and redirect?

680


Explain – 'console.log([data][, …])' statement in node.js?

332


Explain the importance of yield statement in rails.

661