diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp b/Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp index 95d7c3867b..8dd7dca8d7 100644 --- a/Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp +++ b/Userland/Libraries/LibJS/Contrib/Test262/GlobalObject.cpp @@ -34,7 +34,7 @@ void GlobalObject::visit_edges(Cell::Visitor& visitor) JS_DEFINE_NATIVE_FUNCTION(GlobalObject::print) { - auto string = TRY(vm.argument(0).to_string(vm)); + auto string = TRY(vm.argument(0).to_deprecated_string(vm)); outln("{}", string); return js_undefined(); } |