UNPKG
math-example_huntp
Version:
latest (0.0.0)
0.0.0
An example of creating a package
math-example_huntp
/
math_example
/
lib
/
call_counter.js
8 lines
(6 loc)
•
197 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;