I see this code from a book:
var a = "one";
var b = "four";
a>b; // will return true
but it doesn't mention why "one" is bigger than "four". I tried c = "a"
and it is smaller than a and b. I want to know how JavaScript compares these strings.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…