js 數組複製問題

師兄面試回來問個問題,js中數組怎麼複製,工作中沒遇到,面試也漲見識 了,他給我說了下,太晚沒留心,打早起來研究下,寫個dom,來看下 代碼如下 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>數組複製</title> </head> <script> var arr1=[1,2,3
相關文章
相關標籤/搜索