What javascript method would convert the string “20” to an integer (on the fly) so “20” + 20 = 40?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

Is javascript enabled on chrome?

0 Answers  


What is a closure in javascript?

0 Answers  


How to accessing elements using javascript?

0 Answers  


How to get complete current page url with javascript?

0 Answers  


What is the difference between test () and exec () methods?

0 Answers  






Write a program that inputs a 5-digit integer from the keyboard and prints if the input number is a palindrome or not. A palindrome is a number which has the same digit from either end.

1 Answers  


What is the use of a form in html page? Is there any way to submit the page without using the form.

3 Answers   Kanbay, TCS,


What is the use of a map object in javascript?

0 Answers  


How to get value from dropdown (select) control?

0 Answers  


What is the Infinity property used for in Javascript?

0 Answers  


What does trim stand for?

0 Answers  


Is there any class in javascript?

0 Answers  


Categories