We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd26d5 commit 796a11dCopy full SHA for 796a11d
docs/1-trial-session/09-functions/_samples/mobile-phone-bill/script.js
@@ -1,8 +1,9 @@
1
function calculateCost(monthlyDataUsage) {
2
if (monthlyDataUsage < 5.0) {
3
return monthlyDataUsage * 600;
4
+ } else {
5
+ return 3000;
6
}
- return 3000;
7
8
9
document.write(calculateCost(3.5));
docs/1-trial-session/09-functions/index.mdx
@@ -193,8 +193,9 @@ document.write(calculateCost(3.5));
193
194
195
196
197
198
199
200
201
0 commit comments