Better HN
topnewbestaskshowjobs
Log inSign up

joaolvcm

4 karma · joined Nov 12, 2016 (10y ago) · 1 submissions

[ my public key: https://keybase.io/joaolvcm; my proof: https://keybase.io/joaolvcm/sigs/9Lvd_497DP2Dzj_uhsNLe5nCnIYCUYC-z84ACcm5xRY ]
Submissions

comment 7y ago · link · parent

By the way, this has nothing do with f strings but for debugging JavaScript you can do something like

console.log({var1,var2,var3});

And the logged object will get created with the variables content and the variable nem as key, so it will get logged neatly like

{var1: "this is var1", var2: 2, var3: "3"}