DEV Community

Discussion on: Understanding "this" in JavaScript

Collapse
 
naimlatifi5 profile image
Naim Latifi

Hello Dalmo,

That's correct in a node.js environment running script code it is essential to have module wrapper with export.