diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/th/person/last_name.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locales/th/person/last_name.ts b/src/locales/th/person/last_name.ts index ecae422a..7dcead83 100644 --- a/src/locales/th/person/last_name.ts +++ b/src/locales/th/person/last_name.ts @@ -21,9 +21,9 @@ const common_isan_suffix = [ 'พิมาย', 'นอก', ]; -const isan_complete = common_isan_prefix - .map((prefix) => common_isan_suffix.map((suffix) => `${prefix}${suffix}`)) - .flat(); +const isan_complete = common_isan_prefix.flatMap((prefix) => + common_isan_suffix.map((suffix) => `${prefix}${suffix}`) +); // https://www.thairath.co.th/lifestyle/culture/2030525 const chinese = [ |
