Welcome to the Linux Foundation Forum!
How to handle different behaviour of Dynamic Evaluation on CentOS 8 and Windows?
I am using the following environment.
CentOS 8 Node.js v12.18.4
The following example from Chapter 3 does not print out
$ node -p "console.log(1+1)" 2
On Windows it does print out
I'm a bit concerned as what to do when this comes up in the actual certification exam.