📜  javascript 中的复杂类型和内存分配 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:59.885000             🧑  作者: Mango

代码示例1
array and objects are complex type
if assume two array
  a=[1,2]
  b= a 
then we are instructing b to point to a and if any changes is done in b if will affect a as well.