paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 389 forks source link

Set.prototype.delete return value issue #298

Closed cyme closed 9 years ago

cyme commented 9 years ago

Per the ES6 spec, Set.prototype.delete returns a boolean indicating whether the entry was successfully removed from the set: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/delete

The Set.prototype.delete implementation appears to return no value.