js对对象的校验技巧,随时更新

js中,字符串长度用length。
若不确定一个Map里,是否存在某个对象,则用underfind 去校验
原文地址:https://www.cnblogs.com/justtodo/p/11065763.html