Solution use-the-conditional-ternary-operator.english.md (#18747)

* Update use-the-conditional-ternary-operator.english.md

* Use strict equals
This commit is contained in:
Prabhat Kumar Sahu 2018-10-16 05:11:38 +05:30 committed by Todd Chaffee
parent 7b8a6e7385
commit 459b8340f0

View File

@ -61,6 +61,8 @@ checkEqual(1, 2);
<section id='solution'>
```js
// solution required
function checkEqual(a, b) {
return a === b ? true : false;
}
```
</section>