Skip to content
View milabozhevskaya's full-sized avatar
:octocat:
Mr-r-r
:octocat:
Mr-r-r

Block or report milabozhevskaya

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. async code without callback hell async code without callback hell
    1
    const runRequest = (url) => (makeRequest) => makeRequest(url);
    2
     
    3
    const requestWithCallback = (_runRequestWithBindURL) => (callback) => _runRequestWithBindURL(
    4
     (url) => {
    5
     fetch(url).then((date) => {date.json().then((data2) => callback(data2));});
  2. tree tree Public

    JavaScript 1 1