hack_the_vault.js
///////////////////////////////////////////////////
// The code below was written by our hacker
// Nevin Kitnick, He assured us that this
// code worked on his 2048bit GLaDOS6000. But
// we can't get it to work on our standard
// 64bit machine, and Nevin is nowhere to be
// found. (we believe that he was apprehended
// by the NSA)
// Edit the code below to fix the error and
// hack the vault!
///////////////////////////////////////////////////
startHacking().then(function () {
return turnDialRight(44);
}).then(function () {
return turnDialLeft(Math.pow(2, 788) % 100);
}).then(function () {
return turnDialRight(Math.pow(2, 1109) % 100);
}).then(function () {
return tryToOpenVault();
});