This page decodes the coffee challenge shown below. Can you crack the code?

JavaScript Code
// JavaScript code from the coffee challenge var your_drink = "latte"; var reverse = function(s) { return s.split("").reverse().join(""); } var barista = { str1: "ion", str2: reverse("rcne"), str3: "ypt", request: function(preference) { return preference + " Secret word: " + this.str2 + this.str3 + this.str1; } }; console.log(barista.request(your_drink));
Explanation
- reverse function: This function takes a string, splits it into an array, reverses it, and then joins it back into a string.
- barista object: This object holds parts of the "secret word" and a function to build the final message.
- Secret word: The concatenation of `str2` + `str3` + `str1` gives the word "encryption."
When executed, the code returns: latte Secret word: encryption