Which is better (for your CV), be a contributor to Angular.js (example) or create your something.js that left-pads and right-pads at the same time?
Having a patch or two in angular doesn't seem to move the needle.
Getting something on Angular means you were able to get your changes approved and merged (team work)
Situation is better if you can have a bigger project or more people using your something.js