JSFiddle - React, Tailwind, and code Playground
by Hans PUFAL
JavaScript
function test() {
try {
[].undef()
} catch (e) {
return 'My name is "' + e.stack.split('\n')[1].split(/\s+/)[2] + '"';
}
}
document.body.innerHTML = test();