We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f2bfd commit 5cf04cbCopy full SHA for 5cf04cb
test/test.js
@@ -0,0 +1,8 @@
1
+var assert = require('assert');
2
+describe('Array', function() {
3
+ describe('#indexOf()', function() {
4
+ it('should return -1 when the value is not present', function() {
5
+ assert.equal([1, 2, 3].indexOf(4), -1);
6
+ });
7
8
+});
0 commit comments