JSFiddle - React, Tailwind, and code Playground

by luka kupunia

JavaScript

function fn ( a , b , c ){
	a.surname = 'kupunia';
	console.log( [ ...a,...b,...c ] , a[] )
}
fn([
	name = 'Luka'
],[
	age = 23
],[
	country = 'Georgia'
])