blob: aaa87458a67aa64de8a5aaad897f68a598736697 [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.forEach
description: >
Set.prototype.forEach ( callbackfn [ , thisArg ] )
...
8. Return undefined.
---*/
var s = new Set([1]);
assert.sameValue(
s.forEach(function() {}),
undefined,
"`s.forEach(function() {})` returns `undefined`"
);