What are JavaScript types?

Answer Posted / luckie

These are the different Javascript types.

Numbers (1, 2, 3, 59.45 etc.)
Booleans (true,false)
Strings ("Hello")
null (no value)
undefined (type of value is not defined)

except Yvar Who ever answered here for the question for different type javascript.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can I learn javascript for beginners?

686


How to redirect a url using JavaScript?

786


What is encodeuri() function?

788


What is a closure and why are they so useful to us?

758


How can javascript language be separated from objects?

758


What is difference between javascript and jscript?

650


How to access an external javascript file that is stored externally and not embedded?

888


What is an empty html tag?

693


What are the ways of making comments in javascript?

681


What is double exclamation point?

744


What is arguments object in JavaScript?

785


Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],

2017


If an array with name as "names" contain three elements, then how will you print the third element of this array?

750


What are the advantages of javascript?

645


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; }

3135