Skip to content

Commit

Permalink
Merge pull request #565 from Planet-NULLCAST/564-build-fix
Browse files Browse the repository at this point in the history
564-build-fix
  • Loading branch information
thealpha93 authored Nov 29, 2021
2 parents 01aadab + 000b2c8 commit 5d40b50
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions courses/javascript/objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,69 +14,69 @@ testCase: [
{
id: 2,
case: [
`user.name = 'Lionel'`,
`user.name = 'Lionel';`,
`user.name = "Lionel"`,
`user.name = "Lionel";`,
`user['name'] = 'Lionel'`,
`user['name'] = 'Lionel';`,
`user['name'] = "Lionel"`,
`user['name'] = "Lionel";`,
`user["name"] = 'Lionel'`,
`user["name"] = 'Lionel';`,
`user["name"] = "Lionel"`,
`user["name"] = "Lionel";`,
"user.name = 'Lionel'",
"user.name = 'Lionel';",
'user.name = "Lionel"',
'user.name = "Lionel";',
"user['name'] = 'Lionel'",
"user['name'] = 'Lionel';",
'user[''name''] = "Lionel"',
'user[''name''] = "Lionel";',
'user["name"] = ''Lionel''',
'user["name"] = ''Lionel'';',
'user["name"] = "Lionel"',
'user["name"] = "Lionel";',
],
hint: 'Add property "name" with value "Lionel"',
isCorrect: false
},
{
id: 3,
case: [
`user.surName = 'Messi'`,
`user.surName = 'Messi';`,
`user.surName = "Messi"`,
`user.surName = "Messi";`,
`user['surName'] = 'Messi'`,
`user['surName'] = 'Messi';`,
`user['surName'] = "Messi"`,
`user['surName'] = "Messi";`,
`user["surName"] = 'Messi'`,
`user["surName"] = 'Messi';`,
`user["surName"] = "Messi"`,
`user["surName"] = "Messi";`,
"user.surName = 'Messi'",
"user.surName = 'Messi';",
'user.surName = "Messi"',
'user.surName = "Messi";',
"user['surName'] = 'Messi'",
"user['surName'] = 'Messi';",
'user[''surName''] = "Messi"',
'user[''surName''] = "Messi";',
'user["surName"] = ''Messi''',
'user["surName"] = ''Messi'';',
'user["surName"] = "Messi"',
'user["surName"] = "Messi";',
],
hint: 'Add property "surName" with value "Messi"',
isCorrect: false
},
{
id: 4,
case: [
`user.noInternationTrophy = true`,
`user.noInternationTrophy = true;`,
`user['noInternationTrophy'] = true`,
`user['noInternationTrophy'] = true;`,
`user["noInternationTrophy"] = true`,
`user["noInternationTrophy"] = true;`,
'user.noInternationTrophy = true',
'user.noInternationTrophy = true;',
"user['noInternationTrophy'] = true",
"user['noInternationTrophy'] = true;",
'user["noInternationTrophy"] = true',
'user["noInternationTrophy"] = true;',
],
hint: 'Add property "noInternationalTrophy" with value true',
isCorrect: false
},
{
id: 5,
case: [
`user.name = 'Leo'`,
`user.name = 'Leo';`,
`user.name = "Leo"`,
`user.name = "Leo";`,
`user['name'] = 'Leo'`,
`user['name'] = 'Leo';`,
`user['name'] = "Leo"`,
`user['name'] = "Leo";`,
`user["name"] = 'Leo'`,
`user["name"] = 'Leo';`,
`user["name"] = "Leo"`,
`user["name"] = "Leo";`,
"user.name = 'Leo'",
"user.name = 'Leo';",
'user.name = "Leo"',
'user.name = "Leo";',
"user['name'] = 'Leo'",
"user['name'] = 'Leo';",
'user[''name''] = "Leo"',
'user[''name''] = "Leo";',
'user["name"] = ''Leo''',
'user["name"] = ''Leo'';',
'user["name"] = "Leo"',
'user["name"] = "Leo";',
],
hint: 'Change the value of the name to "Leo"',
isCorrect: false
Expand All @@ -86,8 +86,8 @@ testCase: [
case: [
'delete user.noInternationTrophy',
'delete user.noInternationTrophy;',
`delete user['noInternationTrophy']`,
`delete user['noInternationTrophy'];`,
"delete user['noInternationTrophy']",
"delete user['noInternationTrophy'];",
'delete user["noInternationTrophy"]',
'delete user["noInternationTrophy"];',
]
Expand Down

0 comments on commit 5d40b50

Please sign in to comment.