Skip to content

Commit 4231471

Browse files
Update 1-js/02-first-steps/12-nullish-coalescing-operator/article.md
Co-authored-by: Andrea <45577511+longo-andrea@users.noreply.github.com>
1 parent f1ebf2b commit 4231471

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/12-nullish-coalescing-operator

1 file changed

+1
-1
lines changed

1-js/02-first-steps/12-nullish-coalescing-operator/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Quindi, se volessimo scegliere un valore tramite l'operatore `??` in un'espressi
112112
let height = null;
113113
let width = null;
114114

115-
// importante: use le parentesi
115+
// importante: utilizzare le parentesi
116116
let area = (height ?? 100) * (width ?? 50);
117117

118118
alert(area); // 5000

0 commit comments

Comments
 (0)