Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用void 0 替换 undefined #10

Closed
Genluo opened this issue Feb 21, 2021 · 1 comment
Closed

使用void 0 替换 undefined #10

Genluo opened this issue Feb 21, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Genluo
Copy link
Member

Genluo commented Feb 21, 2021

详细原因:underscore-analysis
具体代码处:https://github.com/unity-template/utils/blob/8df32e5e785a59e680fd7a7127d1e024801eb5fa/src/utils/cookie/setCookie.ts#L22-L22

@Genluo Genluo self-assigned this Feb 21, 2021
@Genluo Genluo added the enhancement New feature or request label Feb 21, 2021
@Genluo
Copy link
Member Author

Genluo commented Feb 21, 2021

观察了一下构建产物,针对返回undefined,其实是不需要进行切换的
image

@Genluo Genluo closed this as completed Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant