Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-06-16 15:12:57 +03:00
parent cc4fbc6bdb
commit 923bc1a094

3
Set.js
View File

@ -92,6 +92,9 @@ object.Mixin('SetMixin', 'soft', {
&& this.sort(order)
return this },
// XXX do we need this???
// ...should this be enough???
// new Set([...set].splice(..))
splice: function(from, count, ...items){
var that = this
var order = [...this]