There are some utility libs like `lodash` that wou...
# suitescript
e
There are some utility libs like
lodash
that would make this much easier; they provide methods like
deepEqual
that will do deep comparisons of Arrays and Objects for you