Global Scope won't let me pass


#1

https://www.codecademy.com/courses/learn-javascript-scope/lessons/scope/exercises/global-scope?action=lesson_resume&course_redirect=introduction-to-javascript

const satellite = 'The Moon'
const galaxy = 'The Milky Way'
let stars = 'North Star'

const myNightSky = () => `Night Sky: ${satellite}, ${stars}, ${galaxy}`;

console.log(myNightSky())

Wh does this fail? It meets all of the criteria.


#2

the exercise validates return keyword being used, so the shorthand you are using is not possible in this lesson


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.