For some reason assigning `var key = arr[i].taskTe...
# suitescript
r
For some reason assigning
var key = arr[i].taskText
causes the error "can't find value taskText of undefined" when comparing
arr[j].taskText
to key with
localeCompare()
. If I instead set key as
arr[i]
and compare
key.taskText
to
arr[j].taskText
the universe is back in harmony. Is this a bug? I'm seeing a lot of issue reports.