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