diff --git a/boa_engine/src/value/operations.rs b/boa_engine/src/value/operations.rs index 9359cfbf8d..f22478f862 100644 --- a/boa_engine/src/value/operations.rs +++ b/boa_engine/src/value/operations.rs @@ -25,8 +25,6 @@ impl JsValue { // String concat (Self::String(ref x), Self::String(ref y)) => Self::from(js_string!(x, y)), - (Self::String(ref x), y) => Self::from(js_string!(x, &y.to_string(context)?)), - (x, Self::String(ref y)) => Self::from(js_string!(&x.to_string(context)?, y)), // Slow path: (_, _) => match (