0

明らかにするモジュールパターンを使用する場合、関数とプロパティの正しい開始ケースは何ですか? ここでは、関数は小文字、プロパティは大文字で示していますが、それは正しくありません。

return {
    getRecords: getRecords, // this is a function
    CurrentTitle: getCurrentRecord().title // this is a title
};
4

1 に答える 1