Windows < 10
- Copy the path of: {...Program Files\MongoDB\Server\3.6\bin}
- Advanced System settings
- Environment variables
If you have several objects that share the same implementation, you can use a constructor function to create them.
Any function can be a constructor function as long as it is invoked using the new keyword
function createSillyExample() {}
const objectCreatedFromSillyExample = new createSillyExample();