MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/i7mab9/so_amazing/g13o8s5/
r/ProgrammerHumor • u/SBG_Mujtaba • Aug 11 '20
137 comments sorted by
View all comments
Show parent comment
28
Well it's just not that many ;-)
There are two big hints.
a) a function accepting a callback function as argumentb) a function returning a Promise objectc) your code doesn't work like you expect and after searching for 2 hours you try the other way
6 u/creed10 Aug 11 '20 option C sounds a little familiar 🤔 2 u/Scrogger19 Aug 11 '20 I’m in this picture and I don’t like it
6
option C sounds a little familiar 🤔
2 u/Scrogger19 Aug 11 '20 I’m in this picture and I don’t like it
2
I’m in this picture and I don’t like it
View all comments
Show parent comment
28
u/Noch_ein_Kamel Aug 11 '20
Well it's just not that many ;-)
There are two big hints.
a) a function accepting a callback function as argument
b) a function returning a Promise object
c) your code doesn't work like you expect and after searching for 2 hours you try the other way