Hacker News new | past | comments | ask | show | jobs | submit login

BTW, in this case, you don't even need the first two lambda functions. You may just write

    let sourceList = [cache.getUser; db.getUser; anonymousUser]



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: