JSFiddle - React, Tailwind, and code Playground

by Salman_S

JavaScript

array = [1,2,3]

function append() {
	array.push(0)
}

append(array)
append(array)
console.log(array)