— But if you just have:
const myVar = 4;
You can't get the name "myVar"
out of it
(UNLESS it's a function)
Message permanent page
—
const myVar = function () {};
// this works:
myVar.name
— Works for arrow functions too
— Thanks thomas for your answer 👌
— Http://cvl-demos.cs.nott.ac.uk/vrn/
— I love JavaScript, I really do
— Hi every body . is javascript is good for accounting calculations ?