How would I solve Level 14 (crispsContest.js)?

Solution 1:

Once you've figured out what you can edit:

line 47

and what you can edit it to:

theAlgorithm

You've got to get the Algorithm out.

In the upper left, trade your blue key for a yellow key. Then, in the upper right, trade your red key for another blue key. Then trade the yellow and blue keys for the Algorithm at the bottom.

Solution 2:

write this on line 47

'greenKey');}return false;if(true){//'