Skip to content

Prototype for protecting from copying and pasting#22

Open
Auenc wants to merge 1 commit intoboolean-uk:mainfrom
Auenc:array-accessing-protection
Open

Prototype for protecting from copying and pasting#22
Auenc wants to merge 1 commit intoboolean-uk:mainfrom
Auenc:array-accessing-protection

Conversation

@Auenc
Copy link
Contributor

@Auenc Auenc commented Dec 13, 2021

Test b passes because I took the value from the array.
Test c fails because I copy and pasted the initialisation code

// Set fourthCity to the 4th element in the cities array
const fourthCity = cities[3]

// Set firstCity to the 1st element in the cities array
const firstCity = new Location('London')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant