Tell us what’s happening:
Your code so far
// let magic = function() {
// "use strict";
// return new Date();
// };
const magic=()=>{
"use strict";
return new Date()
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-arrow-functions-to-write-concise-anonymous-functions