-
-
Save luggage66/f379ea1a9df64d7d2bbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//config.js | |
module.exports = { | |
connectionString: 'postgres://blah blah blah', | |
port: 3000 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// a class called "Product | |
function Product() { | |
this.name = null; | |
} | |
Product.prototype.getQuentityInStock = function() { | |
return 666; | |
} | |
module.exports = Product; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment