What is the difference between .js and .mjs files? : <p>I have started working on an existing project based on nodejs. I was just trying to understand the flow of execution, where I encountered with some .mjs files. I have searched the web where I found that these are module based JS files.  </p>

<p>I want to know how is it different from .js files (how does it benefit) ?</p>
