mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated
This commit is contained in:
parent
63c814fa2f
commit
0ddc2e1f50
17 changed files with 24 additions and 24 deletions
|
@ -401,7 +401,7 @@ ThrowCompletionOr<DeprecatedString> Value::to_string(VM& vm) const
|
|||
return DeprecatedString::number(as_i32());
|
||||
// 8. If argument is a BigInt, return BigInt::toString(argument, 10).
|
||||
case BIGINT_TAG:
|
||||
return as_bigint().big_integer().to_base(10);
|
||||
return as_bigint().big_integer().to_base_deprecated(10);
|
||||
// 9. Assert: argument is an Object.
|
||||
case OBJECT_TAG: {
|
||||
// 10. Let primValue be ? ToPrimitive(argument, string).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue