فهرست منبع

EAGLESIX-2713: strict equals

Jake Delaney 11 سال پیش
والد
کامیت
3aa1ee6b7d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/pipeline/expressions/SetDifferenceExpression.js

+ 1 - 1
lib/pipeline/expressions/SetDifferenceExpression.js

@@ -10,7 +10,7 @@
  **/
 var SetDifferenceExpression = module.exports = function SetDifferenceExpression() {
 
-	if (arguments.length != 0) throw new Error("SetDifference constructor must be called with no args");
+	if (arguments.length !== 0) throw new Error("SetDifference constructor must be called with no args");
 
 	base.call(this);
 }, klass = SetDifferenceExpression,