mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-23 22:13:48 +01:00
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
|
/* */
|
||
|
'use strict';
|
||
|
var weak = require("./$.collection-weak");
|
||
|
require("./$.collection")('WeakSet', function(get) {
|
||
|
return function WeakSet() {
|
||
|
return get(this, arguments[0]);
|
||
|
};
|
||
|
}, {add: function add(value) {
|
||
|
return weak.def(this, value, true);
|
||
|
}}, weak, false, true);
|