Hey Dean,
great article. :)
Since you seem to like clean, readable code, you may want to put your expression in parantheses, like this:
function addOneUndefined(x) { return ( x + 1 ); } function cubicBezier(x, u0, u1, u2, u3) { return ( u0 * (1 - x) * (1 - x) * (1 - x) + u1 * (1 - x) * (1 - x) * x + u2 * (1 - x) * x * x + u3 * x * x * x ); }
Oh, I like this! Thank you :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Dean,
great article. :)
Since you seem to like clean, readable code, you may want to put your expression in parantheses, like this:
Oh, I like this! Thank you :)