Skip to content

Instantly share code, notes, and snippets.

View bh-lay's full-sized avatar
🏅
Github 认证工程师

剧中人 bh-lay

🏅
Github 认证工程师
View GitHub Profile
@bh-lay
bh-lay / isSameObj.js
Created June 14, 2016 06:23
判断两个对象是否相等
function isJSON( input ){
var returns = true;
try{
JSON.stringify( input )
} catch ( e ){
returns = false;
}
return returns;
}
function isSameObj( objA, objB ){