Descubra a função do chamador em JavaScript
const hello = () => {
console.log(new Error('I was called').stack)
}
const sello = () => {
hello()
}
sello()
Tired Thrush
const hello = () => {
console.log(new Error('I was called').stack)
}
const sello = () => {
hello()
}
sello()