Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

18
eq.js
View File

@@ -10,26 +10,26 @@
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
* @example
*
* const object = { 'a': 1 };
* const other = { 'a': 1 };
* const object = { 'a': 1 }
* const other = { 'a': 1 }
*
* eq(object, object);
* eq(object, object)
* // => true
*
* eq(object, other);
* eq(object, other)
* // => false
*
* eq('a', 'a');
* eq('a', 'a')
* // => true
*
* eq('a', Object('a'));
* eq('a', Object('a'))
* // => false
*
* eq(NaN, NaN);
* eq(NaN, NaN)
* // => true
*/
function eq(value, other) {
return value === other || (value !== value && other !== other);
return value === other || (value !== value && other !== other)
}
export default eq;
export default eq