js string minus number
console.log(10+"1"); //101
console.log(10-"1"); //9console.log(10+"1"); //101 both will be string
console.log(10-"1"); //9 string will be taken as number
Also in JavaScript:
- emit resize event in angular
- jspdf preview before download
- next js newsletter
- find highest value in array javascript
- add jquery cdn
- javascript date parse yyyy-mm-dd
- js wait for time
- jwt refresh token
- classname toggle js
- string methods javascript count number of words inside a string
- dynamic loop variable .each create hash javascript
- first n elements of array js
- how to download and install ssms in windows 10
- js for loops
- electron download
- electronjs ipc doesn't work
- javascript variable shortcuts
- discord js stats command
- javascript function to format phone number
- javascript check if string contains a text substring
- jquery continue in loop each
- expressjs cheat sheet
- javascript get last word in string
- nested for loop javascript