Fix example comment spacings (#23792)

This commit is contained in:
Eric Jae-Min Joo
2018-11-30 07:17:42 -05:00
committed by Manish Giri
parent f169c1df26
commit 521138726b

View File

@ -16,7 +16,7 @@ When only involving boolean values (either `true` or `false`), it returns true i
true && true //returns the second value, true true && true //returns the second value, true
true && false //returns the second value, false true && false //returns the second value, false
false && false //returns the first value, false false && false //returns the first value, false
123 && 'abc' // returns the second value, 'abc' 123 && 'abc' //returns the second value, 'abc'
'abc' && null //returns the second value, null 'abc' && null //returns the second value, null
undefined && 'abc' //returns the first value, undefined undefined && 'abc' //returns the first value, undefined
0 && false //returns the first value, 0 0 && false //returns the first value, 0
@ -31,7 +31,7 @@ When only involving boolean values (either `true` or `false`), it returns true i
true || true //returns the first value, true true || true //returns the first value, true
true || false //returns the first value, true true || false //returns the first value, true
false || false //returns the second value, false false || false //returns the second value, false
123 || 'abc' // returns the first value, 123 123 || 'abc' //returns the first value, 123
'abc' || null //returns the first value, 'abc' 'abc' || null //returns the first value, 'abc'
undefined || 'abc' //returns the second value, 'abc' undefined || 'abc' //returns the second value, 'abc'
0 || false //returns the second value, false 0 || false //returns the second value, false