Share on Google+Share on Google+

JavaScript basic
1 Answer(s)      6 years and 5 months ago
Posted in : JavaScript Questions

How about 2+5+"8"?


View Answers

November 12, 2010 at 12:50 PM

Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it?s concatenation, so 78 is the result.

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  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
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
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
basic function of computer system
basic function of computer system  What is the basic function of computer system
JavaScript  clone 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 code to dynamically add table on button click.../javascript/javascriptexamples/javascript-add-row-dynamically.shtml
Javascript  How validations are done using javascript ,with example? and interview questions on javASCRIPT
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  How to open a browser window that cannot be resized? (HTML + Javascript
javascript  write a program to display implement about browsers using javascript
javascript  Hi deepak, how to write form validation on javascript
JavaScript  how to get full path of a file type in 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  i have just learned javascript... can you tell me what kind of applications can be made by javascript?? thank you
Basic Java Tutorial
Basic Java Tutorial  Hi, Where is the url of Basic Java Tutorials on Thanks   Hi, You can Learn Java in a Day also? Thanks
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
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
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
javascript  Hi sir, This is sinduri, i want to learn javascript, so plz can u help to learn
javascript  hi sir, if i want to learn javascript. what concepts i want to know
javascript  how to set the request or session attribute in javascript head part of jsp page
Java Spring Hibernate Struts Training code for programming How can I dynamically load user-entered data as content of jquery dialog? java webcam integration question java coding Fix Scrollbar position in a checkboxList after postback Information Save Alert Country wise redirection to files Interface in javascript connect database with javascript Zip Code ZipCode how to validate the email login How to play FLV video files on Ipad using HTML code or javascript code? Nitobi Grid is not working in IE10/IE11 jquery issue plese help RegEx Tree structure from json whose parents can be dragged and dropped from child newyorklife insurance getElementById not working javascript code for search in html file Implement The Skeleton Code Implement This Skeleton Code Mobile Automation using Appium Computer forensic application Java: Searching a string from doc files java linked list urgent !!! java linked list urgent!!! library management library management library management library management question Html form using JavaScript to display the table content java how to prevent no from unroundin off on clicking text box again in JSP and Jquery graph generation from xml design file display data from database in textbox when id entered in textbox Javascript Code for all fields how to get HTTP GET request value using javascript array Javascript Querry autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me Create SpreadSheet same as excel using java applet Create SpreadSheet same as excel using java applet How to change focus among multiple select boxes? Write JQUERY Code Write JQUERY Code Converting jsp variable to java variable java


Advertisement null