diff --git a/questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US.mdx b/questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US.mdx index bc1a36a..b271783 100644 --- a/questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US.mdx +++ b/questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US.mdx @@ -66,8 +66,8 @@ const obj2 = { qux: 'baz', }; -const merged = { ...obj1, ...obj2 }; -console.log(merged); // Output: { foo: "bar", qux: "baz" } +const mergedObj = { ...obj1, ...obj2 }; +console.log(mergedObj); // Output: { foo: "bar", qux: "baz" } ``` ### Passing arguments to functions