felixge / nodeguide.com

My unofficial and opinionated guide to node.js.
http://nodeguide.com/
370 stars 43 forks source link

Style code bug #8

Closed wcarss closed 13 years ago

wcarss commented 13 years ago

Maybe it's intentional - the 'Wrong' section in Return-statements is not just bad style, but won't work as expected. The first if condition should probably read 'val >= 0' instead of 'val < 0'.

felixge commented 13 years ago

Thanks, fixed in b93125f28cba57e9e765f0575cc6f1a0395984b5.