<prompt> Kuandika kipande cha code ambayo anaongeza kipengele mwisho wa safu.  <response>: Heres a code snippet in JavaScript that demonstrates how to add an item to the end of an array:javascriptlet array 1,2,3;let newItem 4;array.pushnewItem;console.logarray; 1,2,3,4 