UNPKG
cmte
Version:
latest (1.1.4)
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Design by Committee™ except it's just you and LLMs
cmte
/
test
/
workflows
/
module-analysis
/
src
/
moduleB.js
18 lines
(15 loc)
•
279 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * moduleB.js - Another sample module. */
export
const
add
= (
a, b
) => {
return
a + b; };
export
default
class
Calculator
{
constructor
(
initialValue =
0
) {
this
.
value
= initialValue; }
multiply
(
factor
) {
this
.
value
*= factor;
return
this
.
value
; } }