huh, I just went in to the console and tested that...
# suitescript
n
huh, I just went in to the console and tested that and it came back as 2 as expected, you'e got a string that contains [] which is of course a length of 2. define "normal JS" ?