JSFiddle - React, Tailwind, and code Playground

by echapman

HTML

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JavaScript function to get the function name.</title>
</head>
<body>
Write a JavaScript function to get the function name. When you're done, be sure to use the developer tools to see your solution logged to the console.
</body>
</html>

JavaScript

function worldsMostOkayestProgrammer() {
    console.log( arguments.callee.name );
}

worldsMostOkayestProgrammer();