首页 > 技术文章 > js 对象toString()方法
a-flydog 2016-05-19 13:26 原文
({}+{}).length == 30;
({}).toString()
'[object Object]'
当对象需要调用toString()方法时会被自动调用.