mirror of
https://github.com/kucherenko/jscpd.git
synced 2026-09-19 08:11:03 +08:00
83 lines
1.3 KiB
JavaScript
83 lines
1.3 KiB
JavaScript
var eldest, grade;
|
|
|
|
grade = function(student) {
|
|
if (student.excellentWork) {
|
|
return "A+";
|
|
} else if (student.okayStuff) {
|
|
if (student.triedHard) {
|
|
return "B";
|
|
} else {
|
|
return "B-";
|
|
}
|
|
} else {
|
|
return "C";
|
|
}
|
|
};
|
|
|
|
eldest = 24 > 21 ? "Liz" : "Ike";
|
|
|
|
|
|
var volume, winner;
|
|
|
|
if (ignition === true) {
|
|
launch();
|
|
}
|
|
|
|
if (band !== SpinalTap) {
|
|
volume = 10;
|
|
}
|
|
|
|
if (answer !== false) {
|
|
letTheWildRumpusBegin();
|
|
}
|
|
|
|
if (car.speed < limit) {
|
|
accelerate();
|
|
}
|
|
|
|
if (pick === 47 || pick === 92 || pick === 13) {
|
|
winner = true;
|
|
}
|
|
|
|
print(inspect("My name is " + this.name));
|
|
|
|
var footprints, solipsism, speed;
|
|
|
|
if ((typeof mind !== "undefined" && mind !== null) && (typeof world === "undefined" || world === null)) {
|
|
solipsism = true;
|
|
}
|
|
|
|
speed = 0;
|
|
|
|
if (speed == null) {
|
|
speed = 15;
|
|
}
|
|
|
|
footprints = typeof yeti !== "undefined" && yeti !== null ? yeti : "bear";
|
|
|
|
eldest = 24 > 21 ? "Liz" : "Ike";
|
|
|
|
|
|
var volume, winner;
|
|
|
|
if (ignition === true) {
|
|
launch();
|
|
}
|
|
|
|
if (band !== SpinalTap) {
|
|
volume = 10;
|
|
}
|
|
|
|
if (answer !== false) {
|
|
letTheWildRumpusBegin();
|
|
}
|
|
|
|
if (car.speed < limit) {
|
|
accelerate();
|
|
}
|
|
|
|
if (pick === 47 || pick === 92 || pick === 13) {
|
|
winner = true;
|
|
}
|
|
|
|
print(inspect("My name is " + this.name)); |