blob: 719faa2c54ad1dcde273c6742973b2cb7b66aa19 [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-set.prototype.has
description: >
Set.prototype.has ( value )
...
6. Return false.
---*/
var s = new Set();
assert.sameValue(s.has(NaN), false, "`s.has(NaN)` returns `false`");