JSFiddle - React, Tailwind, and code Playground

by Ehsan Ziya

JavaScript

var layers = [];

function add(){
	console.log(typeof arguments, 'is an array-like object. not quite an array');	
  layers.concat(arguments);
}

add(1, 2, 3);

console.log(layers); // concat did not work