Hi! Kindly refer to the image attached :  I am unable to run this javascript code in terminal even though the code is correct! I am using visual studio. and it runs perfectly when i click on run code but doesn't run in terminal
[error][1]


  [1]: https://i.stack.imgur.com/VSPPG.jpg