mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
Use ESM syntax and remove console.log()
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const factorialDigitSum = require('../Problem020')
|
||||
import { factorialDigitSum } from '../Problem020'
|
||||
|
||||
describe('Check Problem 20 - Factorial digit sum', () => {
|
||||
it('Factorial digit sum of 10!', () => {
|
||||
|
||||
Reference in New Issue
Block a user