Different console logs from codepen and from pure files tried in browsers on my localhost

here is codepen:

and here is zip file with all files

just start ruby server by “ruby server.rb”, and go to localhost
or if u sucpicios on this files, u can download react-tutorial from website and change css scripts and index.html files

i tried this on google chrome, mozzila, and also on codepen
GC and M give me same logs, but on codepen different

** if u gonna look at code, look for example line where i console log “ERASE”, it shows in codepen and not in other mentioned