you have 2 scope blocks, the one for function stor...
# suitescript
c
you have 2 scope blocks, the one for function storeLocation and one for each iteration