Grokking Microsoft Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
how does the or work in the return statement? Are they both run simultaneously?

Nafis Molla

Aug 14, 2022

how does the or work in the return statement? Are they both run simultaneously?

0

0

Comments
Comments
G
George 3 years ago

no i don't think so. I think the first condition runs, and if it's false, it runs the second condition.

On this page