Created
December 16, 2021 03:40
-
-
Save mitchallen/402253719c3cde9e71c38a2627dc5cff to your computer and use it in GitHub Desktop.
How to Create a JavaScript Module (NodeJS, Browser) (scriptable.com)
This file contains hidden or 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
// Add this to the bottom of index.js | |
let robbie = makeObject(); | |
robbie.hello(); | |
let b9 = makeObject({ name: 'B9' }); | |
b9.hello(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment