📜  在 javascript 代码示例中添加运算符

📅  最后修改于: 2022-03-11 15:04:26.140000             🧑  作者: Mango

代码示例1
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"