Skip to content

Instantly share code, notes, and snippets.

@mlhaufe
Last active October 22, 2022 15:46
Show Gist options
  • Save mlhaufe/a7d7469db14b3b006e6cdf15e5669d80 to your computer and use it in GitHub Desktop.
Save mlhaufe/a7d7469db14b3b006e6cdf15e5669d80 to your computer and use it in GitHub Desktop.
@mlhaufe
Copy link
Author

mlhaufe commented Dec 11, 2016

#1 - ECMAScript 6 supports classes: Ref. Though it is still prototypical inheritance.

#2 - I'm not sure what you mean by "plug-ins"

#3 - Being "loosely typed" does not preclude overloading. It's simply syntactic sugar. Mozilla has a non-standard implementation of JavaScript which supports a form of this: Conditional Catch Clauses Also, you can see an example in Lua

I'd be curious to see what Jessie/MyLibrary looks like after you migrate to ES6 and modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment