huoxiangdong / Blog

学习记录
0 stars 0 forks source link

let #75

Open huoxiangdong opened 6 years ago

huoxiangdong commented 6 years ago
    let routes = []   
    let parent = routes // 这里传递的是routes指针,parent与routes共同指向->[]
    parent.push('HA')
    console.log(routes) // ['HA']