1
Fork 0
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:
Linus Groh 2021-10-18 19:44:46 +01:00
parent be28a6142b
commit f6cf44c3db
2 changed files with 10 additions and 10 deletions

View file

@ -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);