Last active
July 19, 2020 12:52
-
-
Save baranovxyz/c78064830a0dfea769dd6881112133f5 to your computer and use it in GitHub Desktop.
This file contains 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 notes = []; | |
function render() { /**/ }; | |
fetch("src/notes.json") | |
.then(response => response.json()) | |
.then(_notes => (notes = _notes)) | |
.then(render) | |
.catch(e => console.error(e)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment