mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
var assert = require('chai').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(5));
|
|
assert.equal(-1, [1,2,3].indexOf(0));
|
|
});
|
|
});
|
|
}); |