Your array method looks fine syntax-wise. I had the same confusion when I started with JavaScript returns. Here’s what clicked for me: JS functions can only return one thing, but that thing can hold multiple values. Your function should work as written, so the issue’s probably in how you’re extracting values or with your data object. Try console.log(getValues()) first to see what’s actually coming back. If you’re getting undefined, check that data.userSettings.config and data.userPrefs.options exist before the return. I usually go with objects for more than two values since it’s self-documenting, but arrays work great for simple cases like this.