JavaScript Interview Questions
Questions Answers Views Company eMail

Write a Program of Simple Calculator in JavaScript using HTML.

1 7214

What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

2101

In Java coding we will write a public static void main()? Why won't we write as a static public void main()

1453




what is service now ticketing tool how it works

Ideal Vision,

4387

How to create scale in P info

MAHINDRA,

1232

what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

956

Describe what u had done today?

Genpact, Sams,

1140

Please write the Code of simple javascript calculator withot eval() function

822




what is a code in vb amount display in words

631

Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

574

why we need java instead of c

TCS,

506

what is a difference of subclass and main class

512

a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.

IBM,

394

A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a java program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

561

write a program using javascript/ vbscript that checks if two matrices have identical values in all the elements.

1 1953


Post New JavaScript Questions






Un-Answered Questions { JavaScript }

Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

1145


how to get no of items from from weblist?

809


hi iM rahul.my questions is my project is a web based & developed using java,jsp. when i record it using qtp what script i will get like either browser("jdfjkf").page("nkf").... or javawindow("f d ").javaedit("Dasf").... plz clarify my doubt asap and i also need some vbscipt of java coding?

1019


Are there any iphone Institutes which also train iphone automation testing in Hyderabad?

899


java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30

790






what are the differences between as2 and as3?

2164


Explain the steps for connecting the system to Internet.

1018


how to hide alphabets in java as password '*'

1020


Program to return the address family of a socket

196


just for testing

1107


coding of java scripts

722


Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..

902


what is lazy fetching in hibernate

772


what is a code in vb amount display in words

631


What's Prototypes for JavaScript

923