• Sunday , 5 April 2020

Module.exports v/s exports | Javascript shorts

Code Canyon

Welcome to this week’s video by comscience simplified.

In this video, we dig into a pretty common confusion as far as node js programming is concerned. Even you might have encountered this issue while working with node wherein you are trying to export something from inside of a module by assigning it to the exports property. Sometimes it works while other time it does not.

This video explains why.

Here are some links to our other popular videos:

1. Learn about public-key cryptography

2. maximum substring in a string (Google interview question)

3. How the javascript engine works?

4. Real time median in a stream, another google interview question

5. Understand the Javascript event loop

6. Understand Promises in javascript

7. Git basics you must know

This video makes use of Icons made by Flat Icons (https://www.flaticon.com/authors/flat-icons) from www.flaticon.com

Original source

3d Ocean

Related Posts

One Comment

  1. Tyrrell Davis
    September 28, 2019 at 17:13

    Thank you I've been having trouble with express in firefox

Leave A Comment

You must be logged in to post a comment.