Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var assert = require('assert');
- describe('Array', function() {
- describe('#indexOf()', function() {
- it('should return -1 when the value is not present', function() {
- assert.equal(-1, [1,2,3].indexOf(4));
- });
- });
- });
- </script>
Add Comment
Please, Sign In to add comment