Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			
So I was coding a project that was left for me because the initial developer was fired (I didn't know why). When I was reading his code:
var saturday_sunday = week.day - 1;
Now I understand why he was fired.
undefined
codequality code