Created
January 25, 2018 10:30
-
-
Save theSekyi/e7d2b064318305c8f10c89d21a09cac5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let oldNavDaily = () => | |
fetch(oldNavUrl) | |
.then(resp => { | |
return resp.json(); | |
}) | |
.then(data => { | |
let oldNav = data.payload.nav; | |
return oldNav; | |
}); | |
oldNavDaily().then(console.log); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment