Skip to content

How to create a module as a 'Class' / Constructor function usable with new - or: How to make require() return a function and not an object #337

Unanswered
espruino-discuss asked this question in JavaScript
Discussion options

You must be logged in to vote

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants