mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +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