On 20 Jan., 20:06, MorningZ <morni...@gmail.com> wrote: > but just comparing "value a" to "value b", it doesn't get any easier/ > better than JavaScript's native "==" operator
Not so fast. Be aware that the equality operator may give you unexpected results because of type conversion, example: 0 == '' // => true 0 == false // => true Thus there may be cases to use strict equality: 0 === '' // => false 0 === false // => false --Klaus