From f4ca396a796435422bd4fd41fadbd225edddf175 Mon Sep 17 00:00:00 2001 From: moonformeli Date: Wed, 16 Jan 2019 16:57:26 +0900 Subject: [PATCH] Use 3 equal signs (#4153) Like other if statements, use 3 equal signs --- .internal/createMathOperation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.internal/createMathOperation.js b/.internal/createMathOperation.js index b893b5cda..d35ce6c3b 100644 --- a/.internal/createMathOperation.js +++ b/.internal/createMathOperation.js @@ -20,7 +20,7 @@ function createMathOperation(operator, defaultValue) { if (other !== undefined && value === undefined) { return other } - if (typeof value == 'string' || typeof other == 'string') { + if (typeof value === 'string' || typeof other === 'string') { value = baseToString(value) other = baseToString(other) }