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:
parent
7b8a6e7385
commit
459b8340f0
@ -61,6 +61,8 @@ checkEqual(1, 2);
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
function checkEqual(a, b) {
|
||||
return a === b ? true : false;
|
||||
}
|
||||
```
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user