Why does this code display 31 instead of 4 in the console?
31
4
"3"
"1"
Because "3" and "1" are string values.