https://github.com/munificent/multipleinheritance.js
A little hack to get multiple inheritance working in JavaScript.
https://github.com/munificent/multipleinheritance.js
Last synced: 9 months ago
JSON representation
A little hack to get multiple inheritance working in JavaScript.
- Host: GitHub
- URL: https://github.com/munificent/multipleinheritance.js
- Owner: munificent
- License: other
- Created: 2011-02-22T01:48:57.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-22T02:34:55.000Z (almost 15 years ago)
- Last Synced: 2025-02-07T17:49:31.472Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a simple little hack to get Self-style multiple inheritance working in
JavaScript. It requires a JS engine that supports proxies, which as of this
writing means Firefox 4 Beta.
You can find out more about this weird little idea here:
http://journal.stuffwithstuff.com/2011/02/21/multiple-inheritance-in-javascript/
Remember kids, always put on safety goggles before performing an experiment.