we are working on upgrading v8 from 5.3 to 6.7-lkgr.
But I recently found a strange behavior for one global object with name "console".
In the old version, we have a global object "console" for logging info.
But when upgraded to 6.7, the "console"'s callbacks functions won't get called. I tested if I change the name from "console" to something else, it will work as usual.
I am feeling like that "console"seems to become a reserved word for the newer version?
May I know if this is expected? And if true, is there any workaround to overwrite this behavior? we would want to keep our old "console" name.
Thank you so much!