summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/prototype/includes/no-arg.js
blob: 83fee6722c6dd5035f64e58fc2899399a7691235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: no argument searches for a undefined value
---*/

assertEq(#[0].includes(), false, "#[0].includes()");
assertEq(#[undefined].includes(), true, "#[undefined].includes()");

reportCompare(0, 0);