We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dc0a3f commit 9709b7bCopy full SHA for 9709b7b
2 files changed
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
@@ -214,8 +214,9 @@ document.write(calculateCost(3.5));
214
215
216
217
218
219
220
221
222
0 commit comments