We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ff9c4f + a995cc4 commit 43c9f7dCopy full SHA for 43c9f7d
README.md
@@ -1,4 +1,3 @@
1
-
2
# clean-code-javascript
3
4
## Table of Contents
@@ -474,7 +473,7 @@ function createMenu(config) {
474
473
config.title = config.title || 'Foo';
475
config.body = config.body || 'Bar';
476
config.buttonText = config.buttonText || 'Baz';
477
- config.cancellable = config.cancellable === undefined ? config.cancellable : true;
+ config.cancellable = config.cancellable !== undefined ? config.cancellable : true;
478
}
479
480
createMenu(menuConfig);
0 commit comments