Skip to content

VSADX/exotic-classes-falsy-objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Useful, hidden hacks for JavaScript

A 31 line library of 4 hacks you can use in JavaScript.



Objects can be falsy in JavaScript.

Now, yours can too.



Create HTML elements using new.

While not crashing your JavaScript



arguments object deprecated?

Make your own by extending arguments



Create a class that returns a function.

No idea why this is useful, but here you go



Here's the full explanation.

About

Useful, hidden hacks accidentally built into JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published