Test(glance-on-power): changed Hello There ! to Hello There

This commit is contained in:
Oumaimafisaoui 2024-09-03 12:50:38 +01:00 committed by Oumaima Fisaoui
parent 411220450c
commit a53b9b2654
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst typeOfLoggedValues = args.flat().map((v) => typeof v)\nif (!typeOfLoggedValues.includes('string')) {\n throw Error('you must log a string')\n}"
},
{
"description": "Log the string Hello There ! in the console",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst loggedValues = args.flat().join(' ')\nif (!loggedValues.includes('Hello There !')) {\n throw Error('you must log the text Hello There !')\n}"
"description": "Log the string Hello There! in the console",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst loggedValues = args.flat().join(' ')\nif (!loggedValues.includes('Hello There!')) {\n throw Error('you must log the text Hello There!')\n}"
}
]