Version: 0.0.50.0.60.0.73.12.03.13.03.13.13.13.23.14.03.14.13.14.23.15.03.15.13.15.23.16.03.17.03.17.13.18.03.19.03.20.03.20.13.20.23.21.03.21.13.21.23.21.33.22.03.22.13.23.03.24.03.25.03.26.03.27.03.28.03.29.0
module.exports = function isSame (a, b, compare) {
if (compare && compare(a, b)) {
return true
} else if (typeof a !== typeof b || (typeof a === 'object' && a !== null)) {
return false
} else {
return a === b
}