Not sure why it doesn't work but I'd put the hello.js code in a function and export it from hello.js. Then import the function and call it from index.js.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Not sure why it doesn't work but I'd put the hello.js code in a function and export it from hello.js. Then import the function and call it from index.js.