UNPKG
cmath_example
Version:
latest (1.0.0)
1.0.0
An example of creating a package
cmath_example
/
lib
/
call_counter.js
8 lines
(6 loc)
•
183 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
internal_call_counter=
0
;
function
count_call
(
) { ++internal_call_counter;
console
.
log
(
'You have made '
+ internal_call_counter +
' calls!'
); }
module
.
exports
= count_call;