Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
toastal
· 2y ago · 0 comments
inherit* from
to leave* the built-in prototypes alone
Comments
[–]
phrasecode
2y ago
Monkey-patching native DOM APIs is really how polyfills are made. This way, people are able to simulate an idea and have a more productive conversation around it. All with a view to having it succeeded by a native implementation.