Consider these script fragments.
<script data-name="script1">
foo();
</script>
<script data-name="script2">
foo();
</script>
<script>
function foo(){
// console.log(arguments.?);
}
</script>
Is there a way to find out which script function foo was called from the line denoted by the "//"?