huangyingjie
Results
3
comments of
huangyingjie
In my case, you should not use special prefix char like `@assets` but `assets` directly, or this warning will throw.
不相信有人不查阅资料一次能写出来,目前来看最后一步这个写法最科学。 ```js if((type === "object" || type === "function") && res !== null) { return res; } ``` 有同学使用`Object.prototype.toString.call`,但是忽略了,它的返回值不一定是[object Object],比如Array,比如更改了Symbol.toStringTag的对象。总之还是太卷了
@Jack12816 God, your code save my life, finally