Skip to content

workshop /Answer questions #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 questions-and-reviews/questions/0.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const result1 = calculateSum(10, 32);
const result2 = logSum(10, 32);
```

a) what will `result1` evaluate to? Explain your answer
a) what will `result1` evaluate to? If I call function: I have 42

b) What will `result2` evaluate to? Explain your answer
b) What will `result2` evaluate to? Explain your answer : I have 42

c) Try to summarise the main difference between `logSum` and `calculateSum`
c) Try to summarise the main difference between `logSum` and `calculateSum` They have same result however logSum() executes in the terminal


{YOUR ANSWERS HERE}