Appearance
getFirstItem(needle)
获取第一个属性,没有则返回undefined。
返回值:Object|Undefined
console.log(JW.getFirstItem({a: 1, b: 2}));