From cbfb7fcb769c4deaaf0793d9570384b0e952beb3 Mon Sep 17 00:00:00 2001 From: Hakan BAKACAK Date: Sun, 12 Jan 2020 00:18:54 +0300 Subject: [PATCH] Update 02_day_daya_types.md --- 02_Day/02_day_data_types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Day/02_day_data_types.md b/02_Day/02_day_data_types.md index 05d1cc0..3917e1b 100644 --- a/02_Day/02_day_data_types.md +++ b/02_Day/02_day_data_types.md @@ -132,7 +132,7 @@ role:'teaching', country:'Finland' } -console.log(userOne == userTwo) +console.log(userOne == userTwo) //false ``` Rule of thumb, we do not compare non-primitive data types. Do not compare array, function, or object.