eslint extends
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
'use strict'
|
||||
|
||||
const username = 'freddy'
|
||||
typeof username === 'strng'
|
||||
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))
|
||||
console.log(`${greeting} world!`)
|
||||
;[1, 2, 3].forEach(x => console.log(x))
|
||||
|
||||
Reference in New Issue
Block a user