diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-12-01 23:04:30 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-02 13:09:15 +0100 |
commit | fee65f6453186e936e5bd1c4c29e48e4f2e31e99 (patch) | |
tree | 37d30a4e9fa07e335b5fd528b5996f34b183ae54 /Userland/Libraries/LibJS/Runtime/Set.h | |
parent | 8e1df36588530c142f35967e6724cff9333ace72 (diff) | |
download | serenity-fee65f6453186e936e5bd1c4c29e48e4f2e31e99.zip |
LibJS: Implement Set.prototype.union
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Set.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Set.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Set.h b/Userland/Libraries/LibJS/Runtime/Set.h index 05523aee96..d855389bdc 100644 --- a/Userland/Libraries/LibJS/Runtime/Set.h +++ b/Userland/Libraries/LibJS/Runtime/Set.h @@ -36,6 +36,8 @@ public: auto begin() { return m_values->begin(); } auto end() const { return m_values->end(); } + NonnullGCPtr<Set> copy() const; + private: explicit Set(Object& prototype); |