Open chyroc opened 6 years ago
I like to look to Javascript to check on these kind of issues:
a = 1
b = 1.1
console.log(a == b) // false
a = "1"
b = "1.1"
console.log(a == b) // false
a = 1
b = 1.1
console.log(a == b) // false
a = 1
b = "1.1"
console.log(a == b) // false
a = "1"
b = 1.1
console.log(a == b) //false
The Javascript answers look correct to me.
maybe we can define equalStrict
Thinking about this more, I think you are correct, we should add ===
this is ok in anko,but it should be not ok