https://github.com/bga/moscowjs4
code from my talk
https://github.com/bga/moscowjs4
Last synced: 8 months ago
JSON representation
code from my talk
- Host: GitHub
- URL: https://github.com/bga/moscowjs4
- Owner: bga
- Created: 2011-12-06T17:41:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-12-11T19:15:20.000Z (over 14 years ago)
- Last Synced: 2024-12-30T17:45:31.771Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 94.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Collection of kludges for js
+ autocasts.js - disable autocasts of obejcts to string/number in js
+ missed_properties.js - throw error you try to get unexisting property from object. Helps w/ typos
+ missed_vars.js - throw error if you forgot ```var```
+ real private via double prototype.safejs - real privates in js!
+ types.js - add typing to fn's args and local vars, check arity of fn
+ const.js - use const :)
all examples uses safejs subdialect of js