test typepf [] and {}

by ud25tGNwMddCP7JI

JavaScript

var a = []
var b = {}
console.log(`type of a == ${typeof(a)}`)
console.log(`type of b == ${typeof(b)}`)