Which of the JavaScript operators are used not only to perform arithmetic operations?
Explanation
"+" Operator performs an arithmetic operation of addition and performs string concatenation.
"-" Operator performs a type conversion string in number, that is also not an arithmetic operation
"%" Operator performs a type conversion string in number, that is also not an arithmetic operation
"/" Operator performs a type conversion string in number, that is also not an arithmetic operation
"*" Operator performs a type conversion string in number, that is also not an arithmetic operation
Examples:
"ab"+"cd" // "abcd"
"3"-1 // 2
3-"1" // 2
"3" % 2 // 1
3 % "2" // 1
"3"*2 // 6
3*"2" // 6
"6"/2 // 3
6/"2" // 3

Thanks, @docahrens ! Added examples ;)

2016 Jun 15, 6:25:37 PM

Examples would be nice, as your explanations do not seem to make sense.

2016 Jun 10, 10:21:37 PM

@iliana000, fixed! Try it ;) With love, Quizful Team

2016 Jan 21, 11:00:43 AM

@iliana000, you where able to add new line with CTRL+ENTER. now it doesn't work - looks like a BUG. we will fix it ASAP!

2016 Jan 20, 6:10:44 PM

@iliana000, fixed! It is hard to manage all fixes on both sites, so will focus on comments and feedback here ;)

2016 Jan 20, 6:10:03 PM

they all convert type, as far as "-". P.S: and please make a possibility go go at a new line in comments

2016 Jan 15, 6:41:22 AM

"%" Operator performs a type conversion string in number, that is also not an arithmetic operation

2016 Jan 15, 6:40:27 AM

"/" Operator performs a type conversion string in number, that is also not an arithmetic operation

2016 Jan 15, 6:40:05 AM

"*" Operator performs a type conversion string in number, that is also not an arithmetic operation

2016 Jan 15, 6:39:26 AM

Do you ever read comments on quizful.net??? Check the answer

2016 Jan 15, 6:39:01 AM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes