Programmer.
Joined November 2012
·
Don't use Array.forEach, use for() instead
Afshin Mehrabani
·
19 responses
·
performance, loop, javascript
Shortest code for random number between 1 and N in JavaScript
Afshin Mehrabani
·
6 responses
·
math, random, javascript
Which sorting algorithm Array.sort use?
Afshin Mehrabani
·
1 response
·
sorting, algorithm, javascript
~~ is faster than Math.floor()
Afshin Mehrabani
·
10 responses
·
performance, math, shortcut, javascript
Achievements
2,506 Karma
1,280,984 Total ProTip Views
 
Forked 50
Have a project with a thriving community of users that's been forked at least 50 times
 
Lemmings 100
Write something great enough to have at least 100 watchers of the project
 
Honey Badger 3
Have at least three Node.js specific repos
 
Raven
Have at least one original repo where some form of shell script is the dominant language
 
Forked 20
Have an established project that's been forked at least 20 times
 
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2012
 
Forked
Have a project valued enough to be forked by someone else
 
Charity
Fork and commit to someone's open source project in need
 
Honey Badger
Have at least one original Node.js-specific repo
