mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 19:17:33 +08:00
Comply with ESM syntax.
This commit is contained in:
@ -170,8 +170,5 @@ function SHA1 (message) {
|
||||
return HH
|
||||
}
|
||||
|
||||
console.log(SHA1('A Test'))
|
||||
console.log(SHA1('A Test'))
|
||||
|
||||
// export SHA1 function
|
||||
module.exports = SHA1
|
||||
export { SHA1 }
|
||||
|
Reference in New Issue
Block a user