mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
LibJS: Convert this_bigint_value() to ThrowCompletionOr
This commit is contained in:
parent
be28a6142b
commit
f6cf44c3db
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