2 ms·
Oh, sorry, I don't check replies very often. It is much better to email me. But yeah, I could tell right away what language(s) you are coming from ^_^. For r
by thegoleffect 17y ago
Oh, sorry, I don't check replies very often. It is much better to email me. But yeah, I could tell right away what language(s) you are coming from ^_^.
For readability, I usually take a single JSON parameter (which you can access the same way you already do w/ arguments obj). This works especially works well if you have inputs that require default assignments (b/c that assignment code can be cut down to ~4 lines).
I'm not looking that thoroughly through the code, but if you are making objects with shared methods, you might want to try defining some obj methods with your_object.prototype.function_name.
Toss me an email if you need/want more info ;-).