From cc115d58ca20ba9aa85b26931b8cd421b96d65e2 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Tue, 28 Oct 2014 14:45:50 -0700 Subject: [PATCH] fix(facade/lang): use strict equality for performance --- modules/facade/src/lang.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/facade/src/lang.es6 b/modules/facade/src/lang.es6 index 170ca503f9..7d9310e62f 100644 --- a/modules/facade/src/lang.es6 +++ b/modules/facade/src/lang.es6 @@ -12,11 +12,11 @@ export class IMPLEMENTS {} export function isPresent(obj):boolean { - return obj != undefined && obj != null; + return obj !== undefined && obj !== null; } export function isBlank(obj):boolean { - return obj == undefined || obj == null; + return obj === undefined || obj === null; } export function stringify(token):string {