<div class='container-fluid language-javascript' >
<!-- tabs -->
<ul class="nav nav-pills">
<li class="active">
<a href="#specs" data-toggle="tab">Specs</a>
</li>
<li><a href="#readme" data-toggle="tab">Readme</a>
</li>
</ul>
<!-- tab content -->
<div class="tab-content clearfix" style="margin-top: 20px">
<div class="tab-pane active" id="specs">
</div>
<div class="tab-pane" id="readme">
</div>
</div>
</div>
<script type="text/markdown" id="readme-md">
### Only One
Write a function `onlyOne` that accepts three arguments of any type.
`onlyOne` should return true only if exactly one of the three arguments are
truthy. Otherwise, it should return false.
Do not use the equality operators (`==` and `===`) in your solution.
```javascript
onlyOne(false, false, true); // => true
onlyOne(0, 1, 2) // => false
// YOUR CODE BELOW
function onlyOne (a,b,c) {
if (
(!!a && !b && !c) || (!a && !!b && !c) || (!a && !b && !!c)
) {
return true
}
return false
}