push vs concat js code example
Example: javascript push and concat
//push() adds element in the end of array
// concat() also the same, but if the element is array, that element will probably separate elements of itself in the end of the array
//push() adds element in the end of array
// concat() also the same, but if the element is array, that element will probably separate elements of itself in the end of the array