Skip to content

Commit 0b36c50

Browse files
committed
fix(jQuery): default value is defined : 0
1 parent b3b727e commit 0b36c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jQuery/calculator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"use strict";
2-
function calculator(value) {
2+
function calculator(value = 0) {
33
if (!(this instanceof calculator)) {
44
return new calculator(value);
55
}

0 commit comments

Comments
 (0)