js中 ! 和 !!

1.  ! 一个感叹号是取反

2.  !!两个感叹号是将变量转化为布尔值

原文地址:https://www.cnblogs.com/naturl/p/14205155.html