diff --git a/boa_engine/src/builtins/date/mod.rs b/boa_engine/src/builtins/date/mod.rs
index cad6ac3dd7d..7e017b10208 100644
--- a/boa_engine/src/builtins/date/mod.rs
+++ b/boa_engine/src/builtins/date/mod.rs
@@ -61,7 +61,7 @@ macro_rules! get_mut_date {
/// Abstract operation [`thisTimeValue`][spec].
///
/// [spec]: https://tc39.es/ecma262/#sec-thistimevalue
-pub(super) fn this_time_value(value: &JsValue) -> JsResult