Home / Javascript Tips Generated By ChatGPT / Adding to an Array in Javascript Use the push method to add items to an array. Source Code fruits.push('date');