Can we assign a default parameter?function test(fruit) { // printing fruit name if value provided if (fruit && fruit. name)…
Continue ReadingCan we assign a default parameter?function test(fruit) { // printing fruit name if value provided if (fruit && fruit. name)…
Continue Reading