SOURCE


// redirect_uri=https%3A%2F%2Fpassport.csdn.net%2Faccount%2Flogin%3FpcAuthType%3Dgithub%26newAuth%3Dtrue%26state%3Dtest
// %3a---冒号:
// %2F---斜杠/
// %3F---问号?
// %3D---等号=
// %26---且&
// 

// 1、所有比较运算的结果是Boolean类型
// true:yes(是) / correct(正确) / the truth(真)
// false:yes(否) / wrong(错误) / the truth(非真)

// 2、字符串比较:按照字符在 Unicode 编码中的顺序进行比较,后面的大于前面的
// (1)首先比较两个字符串的首位字符
// (2)
// (3)
// (4)
// (5)


// 3、不同类型的值进行比较,会发生隐式转换

// 4、严格相等

// 5、null 和 undefined

// 6、总结


console.log('res1==>',5 > 4)
console.log('res2==>',"apple" > "pineapple")
console.log('res3==>','110' > '12') // 按字符传比较规则
console.log('res4==>',undefined == null)
console.log('res5==>',undefined === null)
console.log('res6==>',null == "\n0\n")
console.log('res7==>',null === +"\n0\n")
console.log('res8==>','2' > '12') // 按字符传比较规则
console.log('res9==>','2' > 12) // 和数字进行比较,才会将另一个非数字 隐式转换为 数字类型
console 命令行工具 X clear

                    
>
console