JSFiddle - React, Tailwind, and code Playground
by shivaay123
JavaScript
const fruit = {
name: 'Apple',
location: 'Nepal',
}
function longerSumm(family, year) {
console.log(
`${this.name} is found in ${this.location}. It is from ${family} family found in ${year}.`
)
}
longerSumm.apply(fruit, ['malius', 1900])