undefined in const in console

hello

I have a problem with console says undefined. here is picture. I expect these parameters show value true but as you see just number and uppercase are true.
[enter image description here] (https://i.stack.imgur.com/QZAGL.png)

Then I tried debugging but it still doesn't` change. and I can`t realize where the problem is. but I     guess     it is related to the arrays and for condition. I wish you help me. here are all pictures of my     project.
[enter image description here] (https://i.stack.imgur.com/7dk8h.png)
[enter image description here] (https://i.stack.imgur.com/I3CVT.png)
[enter image description here] (https://i.stack.imgur.com/ag2F1.png)