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