I am working on a part of the code where I have an array which looks like [[data]]. The data is rendered on the server side through the Django temp
[[data]]
data
Because == (and ===) test to see if two objects are the same object and not if they are identical objects.
==
===
Most test frameworks will include functions such as deepEqual if you want to see if two objects are identical.