install and run prettier

This commit is contained in:
Kent C. Dodds
2019-07-31 20:38:32 -06:00
parent df642497e9
commit 945eaac136
3 changed files with 16 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
const username = 'freddy'
typeof username === 'string'
const username = "freddy";
typeof username === "string";
if (!('serviceWorker' in navigator)) {
if (!("serviceWorker" in navigator)) {
// you have an old browser :-(
}
const greeting = 'hello'
console.log(`${greeting} world!`)
;[1, 2, 3].forEach(x => console.log(x))
const greeting = "hello";
console.log(`${greeting} world!`);
[1, 2, 3].forEach(x => console.log(x));