what is the correct starting case for functions and properties when using the revealing module pattern? I have it shown here with lower case for function and uppercase for properties but that does not feel correct.
return {
getRecords: getRecords, // this is a function
CurrentTitle: getCurrentRecord().title // this is a title
};
There is not a hard-and-fast rule for which case to use for functions versus properties in the revealing module pattern, or any other design pattern for that matter. It's purely up to you which casing pattern you'd like to implement and from there it's important that you are consistent with your choice throughout the rest of your application.
I will say that in my experience I've never seen the use of two different casings for functions and properties, it's usually the same for both.