Posts by user140390 • 81 points
2 posts
-
5
votes2
answers795
viewsA: asynchronous foreach in javascript
I don’t know if you really understand the concept of async and await. If you declare a function as async, all return will be packaged in a Promise, you do not need to return a Promise within an…
-
0
votes1
answer56
viewsA: Python error with object orientation
It wouldn’t be because you’re starting self. __cursor with an undefined value? Where does this Conn come from? It wouldn’t be self. __Conn? def __init__(self, arg): self.__id = arg self.__conn =…