Adding Boolean to a string returns a string

July 29, 2017

let a = true + ''
//=> a: 'true'

Tagged withjavascript

Questions, Comments, Suggestions? Open an Issue