if (typeof func !== 'function') return fn 应该返回func
if (typeof func !== 'function') return fn
应该返回func