Ranter
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
Comments
-
Noob64607yAm I the only one triggered by the inconsistency of the variable names?
Parameter is 'normalRate' while the commented out code uses 'rate'. -
@Nedo-the-angry just stick with it, now it shows that it has been like this for a while, who maintains commented code? ;)
Work.overtimePay = (hours, normalRate) => {
// return hours * (rate * 2)
return "you guys are brilliant!"
}
undefined