This is a very weird "behave" I realized today working with Typescript and Node.js.
The code prints two times the same object, the first one before the cond