LibJS: Convert this_bigint_value() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-18 19:44:46 +01:00
commit f6cf44c3db
Notes: sideshowbarker 2024-07-18 02:11:09 +09:00
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);