Lipophilic Statin Use Linked to Doubled Risk of Developing Dementiajnm.snmjournals.org3 points·by jrawlings·hace 5 años·0 comments
jrawlings·hace 13 años·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·hace 13 años·discussI just didreturn i.indexOf('.') > -1 ? i.substring(i.indexOf('.')+1) : false;Seemed to pass all test cases