diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.portuguese.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.portuguese.md index c432a492d2..5e0eb78338 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.portuguese.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.portuguese.md @@ -69,6 +69,10 @@ booWho(null);
```js -// solution required +function booWho(bool) { + return typeof bool === 'boolean'; +} + +booWho(null); ```