From 1438f118f3f9e7162d186137502fb123a9498191 Mon Sep 17 00:00:00 2001 From: Aborn Jiang Date: Wed, 14 Sep 2022 19:36:47 +0800 Subject: [PATCH] commit by magit in emacs@2022-09-14 19:36:46 --- js/freq.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/js/freq.ts b/js/freq.ts index cc34b51..bc5a8bd 100644 --- a/js/freq.ts +++ b/js/freq.ts @@ -20,6 +20,7 @@ Math.round(20.5); //21 // For iterating on keys of Arrays, Strings, or Objects, use for .. in : +const yourobject = {} for (let key in yourobject) { console.log(key, yourobject[key]); }