0與1和true與false的關係

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> console.log(true == 1) //true console.log(false == 0) //false console.log(true === 1) /
相關文章
相關標籤/搜索