From 44a511e2d94ba65e209d63e4685f253754443d3e Mon Sep 17 00:00:00 2001 From: kingcyrus89 <43738955+kingcyrus89@users.noreply.github.com> Date: Sun, 30 Sep 2018 23:47:39 -0600 Subject: [PATCH] Update article.md --- 6-async/04-promise-api/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-async/04-promise-api/article.md b/6-async/04-promise-api/article.md index 7607a46d..e0e5eda4 100644 --- a/6-async/04-promise-api/article.md +++ b/6-async/04-promise-api/article.md @@ -35,7 +35,7 @@ function loadCached(url) { return fetch(url) .then(response => response.text()) .then(text => { - cache[url] = text; + cache.set(url,text); return text; }); }