Узнайте функцию абонента в 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()