There's one at the bottom of the page -- ugly, as you might have expected.
["Fizz", "Buzz", "FizzBuzz"]
This array has indices 0, 1, and 2 corresponding to "Fizz", "Buzz", and "FizzBuzz" respectively.
2. Condition Checks: - `n % 3 === 0` checks if `n` is divisible by 3.
- For `n = 3`, this is `true` (which equates to `1` when used in arithmetic).
- `n % 5 === 0` checks if `n` is divisible by 5.
- For `n = 3`, this is `false` (which equates to `0`).
3. Index Calculation: (n % 3 === 0) + (n % 5 === 0)
- For `n = 3`, this becomes `1 + 0 = 1`.
4. Array Access: ["Fizz", "Buzz", "FizzBuzz"][1]
- This accesses the element at index `1`, which is `"Buzz"`.
Conclusion: