Recently, I came across this interesting piece of code:
function getFuncName() {
return getFuncName.caller.name
}
I'm curious to understand the concept behind using getFuncName within the getFuncName function. Can someone provide an explanation or point me to a reliable source like MDN web docs?