-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
21 lines (18 loc) · 809 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
'use strict'
// Importing test modules
import { runDeepCloneProcess } from './tests/deep-clone.js';
import { runForLoopComparisonProcess } from './tests/for-loop-comparison.js';
import { runIfElseIfVsSwitchCaseProcess } from './tests/if-else-if-vs-switch-case.js';
import { runNTimesTwoVsNPlusNProcess } from './tests/n-times-two-vs-n-plus-n.js';
import { runOddEvenComparisonProcess } from './tests/odd-even-comparison.js';
import { runTernaryOperatorVsIfElseProcess } from './tests/ternary-operator-vs-if-else.js';
// Call imported functions into following IIFE
(function () {
// Running each test
runDeepCloneProcess();
runForLoopComparisonProcess();
runTernaryOperatorVsIfElseProcess();
runOddEvenComparisonProcess();
runIfElseIfVsSwitchCaseProcess();
runNTimesTwoVsNPlusNProcess();
})();