Eval: run a code string by kelilipan · Pull Request #138 · javascript-tutorial/id.javascript.info · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 1-js/99-js-misc/02-eval/1-eval-calculator/solution.md
6 changes: 3 additions & 3 deletions 1-js/99-js-misc/02-eval/1-eval-calculator/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ importance: 4

---

# Eval-calculator
# Kalkulator-_eval_

Create a calculator that prompts for an arithmetic expression and returns its result.
Buatlah kalkulator yang meminta operasi aritmatika dan mengembalikan hasilnya.

There's no need to check the expression for correctness in this task. Just evaluate and return the result.
Tidak perlu memeriksa kebenaran operasi dalam tugas ini. Cukup evaluasi dan kembalikan hasilnya.

[demo]
73 changes: 36 additions & 37 deletions 1-js/99-js-misc/02-eval/article.md