const ident = (v) => {return v};
export default ident;
Although the code compiles successfully, if I attempt to call ident
from the browser's command line, it throws an error:
VM1228:1 Uncaught ReferenceError: ident is not defined
at <anonymous>:1:1
What steps can be taken to resolve this issue?