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 665

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

1 717

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 869

Event handler Example

1 602

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

1 858

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

1 820

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

1 652


Un-Answered Questions { Scripts }

How will you compare two strings in vbscript?

592


What is difference between factory service and provider in angularjs?

403


Is jQuery is a client or server scripting?

496


Difference between obtrusive and unobtrusive javascript?

451


What is p table in angular?

412






Why jsp and servlets are used?

509


What is providedin in angular?

428


What template engines you can use with express?

230


What does undef function in perl?

521


How do you you check the return code of a command in perl?

579


What is react intl?

369


What are the paremeter of jquery ajax method?

440


Explain perl. When do you use perl for programming? What are the advantages of programming in perl?

462


Why are implicit objects not available in a regular jsp page?

617


Explain zone in angular?

432