From f68e7bd5cd1ee8766a3df3727c1871f40b32793c Mon Sep 17 00:00:00 2001 From: RichardLimSpring <38887201+RichardLim00@users.noreply.github.com> Date: Fri, 20 Dec 2019 23:20:46 +0800 Subject: [PATCH] fix(i18n): chinese - minor language fixes and add solution (#36867) Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com> --- .../basic-algorithm-scripting/boo-who.chinese.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.chinese.md b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.chinese.md index 51ab32dab0..8a5c6f31eb 100644 --- a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.chinese.md +++ b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who.chinese.md @@ -8,7 +8,7 @@ localeTitle: 嘘谁 --- ## Description -
检查值是否归类为布尔基元。返回true或false。布尔基元是true和false。如果卡住,请记得使用Read-Search-Ask 。尝试配对程序。编写自己的代码。
+
检查参数是否归类为布尔基元。返回true或false。布尔基元是true和false。如果卡住,请记得使用Read-Search-Ask 。尝试配对程序。编写自己的代码。
## Instructions
@@ -69,6 +69,10 @@ booWho(null);
```js -// solution required +function booWho(bool) { + return typeof bool === "boolean"; +} + +booWho(null); ```