var array = ['fuga', 'moga'];console.log(array.length > 0); // true
var hoge = { fuga: 1, moga: 2,};console.log(Object.keys(hoge).length === 2); // true