blob: 2859f41084c188f367dc0aa0eb841bba794ddea6 [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.clear
description: >
Set.prototype.clear ( )
...
6. Return undefined.
---*/
var s = new Set();
assert.sameValue(s.clear(), undefined, "`s.clear()` returns `undefined`");