concat()

เชื่อมต่ออาร์เรย์สองชุดเข้ากับ Array.concat () ไม่แก้ไขอาร์เรย์ของอินพุต

รูปแบบการใช้งาน

concat ( a, b )

พารามิเตอร์

  • a Array: อาร์เรย์แรกที่ต่อกัน
  • b Array: อาร์เรย์ที่สองให้ต่อกัน

ค่าที่ส่งออกมา

  • Array: อาร์เรย์ที่ต่อกัน


[1]This document was generated from p5.js whose source code is available on github.