- [Narrator] Okay, so now let's put all
this new knowledge together in a final challenge.
Since ES6 and beyond uses mostly const and let,
in this challenge, we'll only use those two.
So here's the new challenge, first declare
an immutable variable in the global scope
listing a few warriors and their attributes.
Then in a function, if the attribute of a warrior
meets a certain requirement,
list that warrior into the console.
Also, constantly log what variables is accessible where
so you demonstrate to yourself you understand their scope.
Feel free to leverage some of the examples
with it today in this course and good luck.