Lipophilic Statin Use Linked to Doubled Risk of Developing Dementiajnm.snmjournals.org3 points·by jrawlings·5 năm trước·0 comments
jrawlings·13 năm trước·discussRecursive functions like this are more like closures and not pure functions. Aliasing factorial1 and reassigning it will break the recursion [1]. Maybe this is what jbrooksuk was referring to.[1] https://leanpub.com/javascript-allonge/read#recursive
jrawlings·13 năm trước·discussI just didreturn i.indexOf('.') > -1 ? i.substring(i.indexOf('.')+1) : false;Seemed to pass all test cases