mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 08:16:50 +08:00
Comply with ESM syntax.
This commit is contained in:
@ -61,4 +61,4 @@ const DateToDay = (date) => {
|
||||
|
||||
// Example : DateToDay("18/12/2020") => Friday
|
||||
|
||||
module.exports = DateToDay
|
||||
export { DateToDay }
|
||||
|
Reference in New Issue
Block a user