where is javascript string(or array) literals stored in memory

前端 未结 0 632
借酒劲吻你
借酒劲吻你 2021-02-05 16:08

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?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题