mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
LibJS: Convert this_bigint_value() to ThrowCompletionOr
This commit is contained in:
parent
be28a6142b
commit
f6cf44c3db
Notes:
sideshowbarker
2024-07-18 02:11:09 +09:00
Author: https://github.com/linusg
Commit: f6cf44c3db
Pull-request: https://github.com/SerenityOS/serenity/pull/10533
Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 10 additions and 10 deletions
|
@ -20,7 +20,9 @@ public:
|
|||
BigIntObject(BigInt&, Object& prototype);
|
||||
virtual ~BigIntObject();
|
||||
|
||||
const BigInt& bigint() const { return m_bigint; }
|
||||
BigInt const& bigint() const { return m_bigint; }
|
||||
BigInt& bigint() { return m_bigint; }
|
||||
|
||||
virtual Value value_of() const override
|
||||
{
|
||||
return Value(&m_bigint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue