Answers for "add operator in javascript"

0

add operator in javascript

number => 2+3=5 (integer)
string => contact to string "good"+"morning"="goodmorning" (string)
string + number => 2+"hello"="2hello" (string)

but => 
var name="sara" , age=18 , num=22 

name+age+num => "sara1822"
age+num+name => "40sara"
Posted by: Guest on August-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language