I think that array literal(or string) in javascript is primitive datatype and array object is object datatype. so, when we declare arr=[1,2,3,4] ,does it get stored on stack?