const num = 2 const a = num.toString() // This throws an Error if num is null or undifined const b = String(num) // In a case above, puts "null" or "undifined"