Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
basic
033string_minus.js
033string_minus.js
/** * Minus operator */ var x, y, c; x = 'str1'; y = 'str2'; c = x - y; console.log(c); //NaN
Reload page
Preview
W3C validation
Edit Code
JS Console