diff options
-rw-r--r-- | mod2/assets/core/util/hello3.js | 5 | ||||
-rw-r--r-- | mod2/assets/core/util/hello5.js | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mod2/assets/core/util/hello3.js b/mod2/assets/core/util/hello3.js index deab5ba..8fa9b0f 100644 --- a/mod2/assets/core/util/hello3.js +++ b/mod2/assets/core/util/hello3.js @@ -1,6 +1,11 @@ import { format } from 'date-fns'; +import { hello5 } from './hello5'; export function hello3() { let today = format(new Date(), "'Today is a' iiii"); return `Hello3 from mod2. Date from date-fns: ${today}`; } + +export function hello6() { + return hello5(); +} diff --git a/mod2/assets/core/util/hello5.js b/mod2/assets/core/util/hello5.js new file mode 100644 index 0000000..03ba50b --- /dev/null +++ b/mod2/assets/core/util/hello5.js @@ -0,0 +1,3 @@ +export function hello5() { + return `Hello5 from mod2.`; +} |