mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
Comply with ESM syntax.
This commit is contained in:
@@ -41,4 +41,4 @@ const AlternativeStringArrange = (str1, str2) => {
|
||||
return outStr
|
||||
}
|
||||
|
||||
module.exports = AlternativeStringArrange
|
||||
export { AlternativeStringArrange }
|
||||
|
||||
@@ -17,4 +17,4 @@ const CheckKebabCase = (varName) => {
|
||||
return pat.test(varName) && !varName.includes('_')
|
||||
}
|
||||
|
||||
module.exports = CheckKebabCase
|
||||
export { CheckKebabCase }
|
||||
|
||||
@@ -17,4 +17,4 @@ const CheckPascalCase = (VarName) => {
|
||||
return pat.test(VarName)
|
||||
}
|
||||
|
||||
module.exports = CheckPascalCase
|
||||
export { CheckPascalCase }
|
||||
|
||||
Reference in New Issue
Block a user