摘要: function Foo(a,b){ console.log(a==arguments[0],b==arguments[1]); console.log(a,b); a='44'; b='555'; console.log(a==arguments[0],b==arguments[1]); //若F 阅读全文
posted @ 2025-12-03 14:47 howhy 阅读(2) 评论(0) 推荐(0)
摘要: 1、原始转数字: Boolean转数字:true :1 false: 0 null: 0 undefined: NaN []: 0 {}:NaN ' \r\t\n ': 0 ' 123\t ' :123 'anc':NaN 2、所有转Boolean: 这几种情况是false:0 null undef 阅读全文
posted @ 2025-12-03 14:00 howhy 阅读(4) 评论(0) 推荐(0)