Free Lunch @ Gather for your team!
Answer: git remote -v
Answer: :q!
Answer: git diff
That's the one with all the hunks.
Answer: git add -p
Answer: upstream
Answer: rm -rf .git
CHALLENGE:
Answer: 12
Answer: section.alert.alert-info { ... }
Answer: 45px
Answer: inline
Answer: input[data-id="13"] { ... }
Answer: static, absolute, fixed, relative, sticky
CHALLENGE:
Answer: Asynchronous JavaScript & XML
Answer: Created
Answer: Not Found
Answer: GET, POST, PUT, DELETE
Answer: Cross Origin Resource Sharing
Answer: OK!!!
CHALLENGE:
new Promise(function (fn1, fn2) {
( "3" == 3 ) ? fn2('OK') : fn1('OK');
}).then(function (result) {
console.log(result + '???');
}, function (result) {
console.log(result + '!!!');
});
Answer: false
( !true || !!0 ) ||
( !1 && !!!1 ) ||
( false || true && false )
Answer: undefined
[
[ 3, 4, 5 ][ 0 ],
[
"a",
"b",
"c",
[ "d", "e", "f" ][ 2 ]
][ 5 ]
][ 1 ]
Answer: Party-Girl
var movie = 'Party Girl';
if ( movie.indexOf('P') > 0 ) { movie = movie.split(" ")[0]; }
if ( movie.length > 5 ) { movie = movie.replace(" ", "-"); }
movie.toLowerCase();
Answer: 35
function crazyHoF (input1) {
return function (input2) {
input1 += input2;
return function (input3) {
return input1 + input3 + input2;
}
}
}
crazyHoF(10)(5)(15);
Answer: 0
Object.keys([ 10, 11, 12 ]).reduce(function (prev, curr) {
return prev * curr;
});
Answer: '7-7-5-5-5-3-3-3-3'
[ 9, 77, 555, 3333 ].map(function (el) {
return el.toString().split('').join('-');
}).filter(function (el) {
return el.indexOf('-') > -1;
}).reduce(function (prev, curr) {
return [prev, curr].join('-');
});
CHALLENGE: