Skip to content

Commit 91e09f7

Browse files
committed
feat: API test
1 parent 4e941b2 commit 91e09f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

JS/API/in&includes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
console.log(6 in [6]) // false
2+
console.log(0 in [6]) // true
3+
4+
console.log([6].includes(6)) // true

0 commit comments

Comments
 (0)