What does "1"+2+4 evaluate to?

Answer Posted / shikha

answer is 124 as "1" in the starting is consider as a
string, therefore all other nos after that is consider as a
string unless brackets are not used.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert a string to lowercase?

568


In which location cookies are stored on the hard disk?

512


What does question mark mean in react?

474


What is a boolean search?

474


How you can modify XAML content from JavaScript in Silverlight?

545






What is the use of decodeuri() and encodeuri()?

494


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],

1776


What is lazy loading java?

480


Why is java better than javascript?

458


Why is javascript not oop?

481


What is triple dot in javascript?

507


What is an asynchronous programming? Why is it important in javascript?

526


Can you use javascript to hack?

460


What is a global variable in programming?

496


What makes a relation a function?

489