Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Then you should start using one lol
or you hate another coder
'looks like u solved it'
Duplicate issue. There is an open issue about it already, please don't open another about the same or comment there with your suggestion.
I failed to realize too facepalm. My degree is crying right now LMAO
Yes! Using the prototype you only have one function that's shared by all the instances. If you define it inside the function, you're doing extra work and having multiple instances of that method in memory if you have multiple instances of the Person
Edit: so yes, it's faster and consumers less memory when you have multiple instances
Prototypes! This is how you originally did "methods" in JavaScript before there was classes. Classes are in fact just built on top of prototypes
Duplicate issue.
Fixed
That's the point!! It's called ninja coding and the only the ninja will understand it. You should never write code like this if you intend to passing it on to another coder.
Yeah me too
'alr approved by some1'
'alr approved by some1'
Same as me mate,
same as me.
I spent an hour trying to figure this out, and ended up using loops, this made me question a lot of things
Loading more items...