Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


samar
JavaScript basic
1 Answer(s)      3 years and 9 months ago
Posted in : JavaScript Questions


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


Advertisement
View Answers

November 12, 2010 at 1:01 PM


Since "1" is a string, everything is a string, so the result is a string of "124".



Related Tutorials/Questions & Answers:
JavaScript basic
JavaScript basic  What does "1"+2+4 evaluate to?   Since "1" is a string, everything is a string, so the result is a string of "124
JavaScript basic
JavaScript basic  What is === operator ?   The ==== operator is strict equality operator, it returns true only when the two operands are having the same value without any type conversion
Advertisements
JavaScript basic
JavaScript basic  How about 2+5+"8"?   Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it?s concatenation, so 78 is the result
JavaScript Basic Tutorial
JavaScript Basic Tutorial JavaScript is an object-oriented scripting language... and at last JavaScript. Since Netscape supports Java, that's why the name coined as JavaScript. JavaScript, though the name has a resemblance with Java
basic html
basic html  what is the difference between html4 and html5
basic question
basic question  how we create a new table with the same structure and data of another table
basic doubts
basic doubts  can i write two beans within a same xml file..? Also can i write two xml files within a same package
basic program
basic program  hii actully i am goin for technical interview on java as fresher so please tell me what these two basic lines means : public static void main(String arg) and System.out.print(); please give me meaning of each
A basic program
A basic program  Write a program that will print out the first 10 numbers, their squares and their cubes. Write a program that displays the first 100 terms of the triangular sequence. This is the sequence that goes
JavaScript Editor
JavaScript Editor       JSEditor is a plug-in for the Eclipse IDE that provides basic JavaScript editing functions such as syntax hi-lighting and content outlining
JavaScript
JavaScript  clone JavaScript
basic function of computer system
basic function of computer system  What is the basic function of computer system
javascript
javascript  javascript code to dynamically add table on button click.../javascript/javascriptexamples/javascript-add-row-dynamically.shtml http://www.roseindia.net/javascript/javascript-add-row-to-table.shtml http://www.roseindia.net
Javascript
Javascript  How validations are done using javascript ,with example? and interview questions on javASCRIPT
Basic Validators provided by the framework.
Basic Validators provided by the framework.  What are Validators? and What are Basic Validators provided by the framework
javaScript
javaScript  How to open a browser window that cannot be resized? (HTML + Javascript
javascript
javascript  write a program to display implement about browsers using javascript
javascript
javascript  Hi deepak, how to write form validation on javascript
JavaScript
JavaScript  how to get full path of a file type in javascript
JavaScript
should use JavaScript? Thanks   Hi, JavaScript is scripting language that runs on browser. You have to embed JavaScript in HTML page. Please see JavaScript tutorial. Thanks
JavaScript array functions
JavaScript array functions We are going to describe How to create JavaScript Array function. Now we have created JavaScript Array function by help of HTML and JavaScript language.In this simple example we have used basic
javascript
javascript  i have just learned javascript... can you tell me what kind of applications can be made by javascript?? thank you
JavaScript calendar date picker
used basic JavaScript date picker functionality. We use drop-down calendar... JavaScript Datepicker Test body { font-family: Verdana, Tahoma...: bold; } .style1 { color: #0000FF; } JavaScript calendar date
javascript
javascript  Hi sir, This is sinduri, i want to learn javascript, so plz can u help me.how to learn
javascript
javascript  hi sir, if i want to learn javascript. what concepts i want to know
javascript
javascript  how to set the request or session attribute in javascript head part of jsp page
Summary - Basic Elements
Java: Summary - Basic Elements In this section we will see how to comment your Java code. We will also see the Identifiers and Keyword of Java API. Properly commenting the Java code is very important. Commenting the programming code
Summary - Basic Elements
Java: Summary - Basic Elements In this section we will learn about commenting in Java. We will learn following things: a) Identifiers in Java. b) Object types in Java. c) Code commenting in Java d) Integer types in Java e) Keywords
JAVASCRIPT
JAVASCRIPT  I have one textbox and I want to validate that it must start with number(1-0). can anyone tell me a javascript for that ? thanks in advance
Javascript
Javascript   Javascript to check Numeric entry in checkbox.....   Hi Please find the following code for numeric entry validation in javascript function validateBox(){ var data=document.myForm.someText.value
Basic Java Tutorial
Basic Java Tutorial  Hi, Where is the url of Basic Java Tutorials on roseindia.net? Thanks   Hi, You can Learn Java in a Day also? Thanks
javaScript
javaScript  . Print a table like below in JAVASCRIPT 5 x 1 = 5 5 x 2 = 10 ΓΆβ?¬Β¦ΓΆβ?¬Β¦ΓΆβ?¬Β¦. 5 x 20 = 100
javascript
javascript  hi, I was actually working on to calculate the number of days between two dates of yyyy-mm-dd format using javascript, and when i click on button then number of days should be display in textbox
basic c/c++ questions
basic c/c++ questions  Are the Control statements like if(),while() in built functions? if no, why not as they satisfy all the properties of a function
basic c/c++ questions
basic c/c++ questions  Are the Control statements like if(),while() in built functions? if no, why not as they satisfy all the properties of a function
java and visual basic
java and visual basic  Hello, Please how does java and visual basic interact or talk
javascript
javascript  passing javascript values to jsp   Hi Friend, Try the following code: form.jsp: <html> <script> function getMsg...;/script> <input type="button" onclick="getMsg();" value="Get Javascript value
Javascript
this format xxx-xxx-xxxx, i want the code in javascript. as a function.   Javascript Phone Number Validation <html> <script> function..." method="post" onsubmit="javascript:return validate();"> Phone Number:<
Javascript
Javascript  Dear Sir, Thank You a lot for your continuos support.Again i am in need of your help. What is the javascript code to disable a link,once... javascript or css Please help me.Urgent Regards Debasis   Hello Friend
JSP basic doubt
JSP basic doubt  String user = request.getParameter("username...("")){ response.sendRedirect("login.jsp"); } else{ } %> Or you can use JavaScript...="javascript:return validate();"> <table> <tr><td>Username
Java basic question...
Java basic question...   Design a Java Application project...), emp_desig as String (To hold designation of the employee) and basic as Integer (To hold the basic salary of the employee). (iii) Define and declare a method
visual basic coding...
visual basic coding...  Visual Basic Game Programming please help me to build visual basic code with four screens (spin,bet,help and exit... a)Develop a simple Slot machine Jackpot system. Be as creative as possible
Basic for iphone development??
Basic for iphone development??  hiii... I want to go for iphone development .. What are the basic for iphone development can some body...//appleref/doc/uid/TP40007593 from here you can study about iphone basic development
basic java - Java Beginners
basic java  oops concept in java ?  Hi Friend, Please visit the following links: http://www.roseindia.net/java/beginners/oop-in-java.shtml http://www.roseindia.net/java/learn-java-in-a-day/oops.shtml Thanks
spring basic example
spring basic example  hi,, i cannot understand the flow of the spring mvc example. can you explain execution flow of the spring example project?? thanks
Javascript
Javascript  <html> <head> <script type="text/javascript"> function validateForm() { var sname=document.getElementById('spocname'); var scontact=document.getElementById('spoccontact'); if(sname.value.length
javascript
javascript  how to create random question using javascript?   <html> <script> function displayQuestions() { document.getElementById("text").value=" "; var Questions = new Array(20
Voice Recognition in Visual Basic
Voice Recognition in Visual Basic  Sir, I'm BCA final year student and "voice recognition" is my major project,I want to make it by myself in "Visual Basic" How can it possible in 'V.B.net'. which initial step should i follow
Advertisements
 

 

 

DMCA.com