JSFiddle - React, Tailwind, and code Playground
HTML
<h5>check out the console (works in chrome)</h5>
JavaScript
function one(){
two()
}
function two(){
console.log(two.caller.arguments)
}
one('dude')
<h5>check out the console (works in chrome)</h5>
function one(){
two()
}
function two(){
console.log(two.caller.arguments)
}
one('dude')