I like how simple this is.
As a beginner i'm still writing out the long version and explicitly declaring statements, so this is very useful to see the shorthand versions of the same thing.
note for my benefit:
learnings from yours:
brackets not necessary for simple conditional test.
'!' operator understood as 'not true' is the same as '=== false'.
I had the same logic to solve this problem, great solution!
I love this one, easy to understand
GOD
This comment is hidden because it contains spoiler information about the solution
Entendi que neste caso o employed não precisa ser true para a condição do exercicio ser satisfeita, me corrija.
I like how simple this is.
As a beginner i'm still writing out the long version and explicitly declaring statements, so this is very useful to see the shorthand versions of the same thing.
note for my benefit:
learnings from yours:
Here I thought I was being clever... and completely overlooked the simpler solution.
Love the logic on this one.
why not? it's easy to read
good if text will change
At least you solve the problem.
This is not best practice
good solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...