2020-08-27-js判断空,null

1
obj == "undefined" || obj == null || obj == ''
1
variable1 !== null || variable1 !== undefined || variable1 !== ''
Licensed under CC BY-NC-SA 4.0
Built with Hugo
主题 StackJimmy 设计