booWho(true)
يجب أن booWho(true)
true.
testString: 'assert.strictEqual(booWho(true), true, "booWho(true)
should return true.");'
- text: booWho(false)
يجب أن يعود صحيحًا.
testString: 'assert.strictEqual(booWho(false), true, "booWho(false)
should return true.");'
- text: 'booWho([1, 2, 3])
يجب أن تعود خاطئة.'
testString: 'assert.strictEqual(booWho([1, 2, 3]), false, "booWho([1, 2, 3])
should return false.");'
- text: 'يجب أن تعود booWho([].slice)
كاذبة.'
testString: 'assert.strictEqual(booWho([].slice), false, "booWho([].slice)
should return false.");'
- text: ''
testString: 'assert.strictEqual(booWho({ "a": 1 }), false, "booWho({ "a": 1 })
should return false.");'
- text: يجب أن يقوم booWho(1)
بإرجاع false.
testString: 'assert.strictEqual(booWho(1), false, "booWho(1)
should return false.");'
- text: يجب أن تعود booWho(NaN)
كاذبة.
testString: 'assert.strictEqual(booWho(NaN), false, "booWho(NaN)
should return false.");'
- text: booWho("a")
بإرجاع false.
testString: 'assert.strictEqual(booWho("a"), false, "booWho("a")
should return false.");'
- text: booWho("true")
بإرجاع false.
testString: 'assert.strictEqual(booWho("true"), false, "booWho("true")
should return false.");'
- text: booWho("false")
بإرجاع false.
testString: 'assert.strictEqual(booWho("false"), false, "booWho("false")
should return false.");'
```