Urgent.News

600+ sources. One page. See who else covered it.

Editions

More in Science

Data Scientist Learning JS: Promises and resolve()

Context: I'm a data scientist/analyst (in Python and R) learning development from scratch. Inevitably, I am learning these through the lens of what I already know.

  • Data scientist learns JavaScript, focusing on Promises and resolve()
  • FakeFetchPosts() function returns Promise resolving with mock posts after 2 seconds
  • await keyword allows JavaScript single-threaded program to continue executing during wait

More from Tuesday 11 August →