I wonder why the code just can works with codeacademy console and not JS console in google chrome? Maybe there is something bad about my code i was not able to make it work untill i change the type of variables.
i always stop learning for this kind of issues that makes me confused.
Thx so much people from now for helping to solve my doubts!.