Assessment wanted for JSON task

Hello :slightly_smiling_face: Need assessment for JSON task.

Codepen.

Well done, @VladimirK

That’s all correct including the explanation why the two lines are inside the function.
Nice idea with the filter() and the regex.

We can use if…else statement for ‘and’
but regexp is shorter and cheaper.

… but needs a bit more brain power to comprehend. :grin:

1 Like