Hi, i want to know why the uppercase don’t work in this challenge
The code of the challenge, mine and correct:
//Code of the challenge
var magic = function() {
return new Date();
};
//My answer (don't work)
const MAGIC = () => new Date();
// Correct answer
const magic = () => new Date();
Someone know why the uppercase “MAGIC” don’t work? I thought it is good practice to write const variables in uppercase.