12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- var Decaf, addCaffeine, base, base1, base2, coffee, cupsOfCoffee, level, message, paid, pour;
- paid = coffee = pour = function() {};
- if (paid() && coffee() === true) {
- pour();
- }
- addCaffeine = Decaf = function() {};
- if (!Decaf()) {
- addCaffeine();
- }
- if (!Decaf()) {
- addCaffeine();
- }
- level = 4;
- if ((2 < level && level < 5)) {
- alert("In range");
- }
- message = (function() {
- switch (cupsOfCoffee) {
- case 0:
- return 'Asleep';
- case 1:
- return 'Eyes open';
- case 2:
- return 'Buzzed';
- default:
- return 'Dangerous';
- }
- })();
- if (typeof cupsOfCoffee !== "undefined" && cupsOfCoffee !== null) {
- alert('Exists');
- }
- if (typeof cupsOfCoffee !== "undefined" && cupsOfCoffee !== null) {
- alert('Exists');
- }
- if (typeof cupsOfCoffee === "undefined" || cupsOfCoffee === null) {
- cupsOfCoffee = 0;
- }
- if (cupsOfCoffee == null) {
- cupsOfCoffee = 0;
- }
- if (cupsOfCoffee == null) {
- cupsOfCoffee = 0;
- }
- if (typeof coffeePot !== "undefined" && coffeePot !== null) {
- coffeePot.brew();
- }
- if (typeof vehicle.start_engine === "function") {
- if (typeof (base = vehicle.start_engine()).shift_gear === "function") {
- if (typeof (base1 = base.shift_gear()).crank === "function") {
- if (typeof (base2 = base1.crank()).press_gas === "function") {
- base2.press_gas();
- }
- }
- }
- }
|