FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(jQuery): default value is defined : 0 · azu/JavaScript-Plugin-Architecture@0b36c50 · GitHub

Repository navigation

Commit 0b36c50

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/jQuery/calculator.js‎

Lines changed: 1 addition & 1 deletion
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)

Back | FazBrowse Home | New Git URL