JavaScript Interview Questions
Questions Answers Views Company eMail

What is the difference between Local Storage and Session Storage?

540

What is the difference between null and undefined?

498

What is a Typed Language?

581

What is a named function in JavaScript? How to define a named function?

525

How to define a anonymous function?

545

How to change the background color of HTML document using JavaScript?

536

What does a typeof operator do?

587

How can you read properties of an Object in JavaScript?

529

Explain how to detect the operating system on the client machine?

488

Name some of the Javascript frameworks?

547

How to submit a form using JavaScript by clicking a link?

545

How can an HTMLCollection be traversed?

542

Explain the term closure?

563

What is the difference between textContent and innerText?

505

How can a Javascript code redirect the user to a different page?

521


Post New JavaScript Questions

Un-Answered Questions { JavaScript }

Is array an object javascript?

471


Is javascript necessary for web development?

507


Write a main method that prompts the user to enter the starting population, birth and death rates, and the number of years. The input birth and death rates cannot be negative, the starting population cannot be less than 2, and the number of years greater than 0. If the user enters an invalid value, this program will prompt user to re-enter the value until a valid value has been read. When all input values are valid, call on the methods above to compute estimated population and print result.

1812


Define closure.

498


How generic objects can be created?

472






What are the string methods?

466


What are global variables in javascript?

529


How to find radio button selection when a form is submitted?

444


What does === mean in js?

485


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

3607


What is called variable?

459


Does javascript support automatic type conversion, if yes give example.

653


Is everything in javascript asynchronous?

457


java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.

1557


Explain how to read and write a file using javascript?

528