formulahendry / formulahendry/vscode-code-runner

return true/false inside function doesn't show up in output

Open
#364 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

I run the following
`function returntrue(buol){`
` if (buol === true){`
` return true;`
` }`
` return false;`
`}`
`returntrue(false);`

And the output I get is
`[Done] exited with code=0 in 0.356 seconds`
Shouldn't I get **false**? I am confused.
What am I doing wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.