มารู้จัก Rest Parameters และวิธีการใช้ใน java script
ในการเขียนโปรแกรมไม่ว่าภาษาอะไรก็ย่อมหนีไม่พ้น การสร้าง function เพื่อให้โปรแกรมอื่นเรียกใช้งาน ใน java script เองก็มีรูปแบบการเขียน function ดังนี้
// ถ้าไม่มี return จะทำงานแบบ procedure
function showName(arg1){…