From 817e6ff70bc1280b0d9300bc4a29387a0476918e Mon Sep 17 00:00:00 2001 From: Joao Caxaria Date: Fri, 18 Jul 2014 11:42:16 +0100 Subject: [PATCH 01/10] new file --- newfile.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newfile.js diff --git a/newfile.js b/newfile.js new file mode 100644 index 0000000..e69de29 From 2e3db5c790a056c75e88ebe70ff2afc2db1efc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Mon, 31 Oct 2016 09:09:17 +0000 Subject: [PATCH 02/10] Update newfile.js --- newfile.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/newfile.js b/newfile.js index e69de29..4938e2a 100644 --- a/newfile.js +++ b/newfile.js @@ -0,0 +1,9 @@ +function a(x) { + if (true) { + return x; // 1st path + } else if (false) { + return x+1; // 2nd path + } else { + return 4; // 3rd path + } +} From 12940bc31050c27f08efcc0edf5d8c432c11b7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Mon, 31 Oct 2016 09:16:16 +0000 Subject: [PATCH 03/10] add complexity --- newfile.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/newfile.js b/newfile.js index 4938e2a..afeeabf 100644 --- a/newfile.js +++ b/newfile.js @@ -2,7 +2,19 @@ function a(x) { if (true) { return x; // 1st path } else if (false) { - return x+1; // 2nd path + if (false) { + return x+1; // 2nd path + } else { + if (false) { + return x+1; // 2nd path + } else { + if (false) { + return x+1; // 2nd path + } else { + return 4; // 3rd path + } + } + } } else { return 4; // 3rd path } From 66eeb8389eba43abbbb7aa54daf0082fdbf67db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Mon, 31 Oct 2016 09:49:00 +0000 Subject: [PATCH 04/10] Update newfile.js --- newfile.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/newfile.js b/newfile.js index afeeabf..225b9dc 100644 --- a/newfile.js +++ b/newfile.js @@ -19,3 +19,17 @@ function a(x) { return 4; // 3rd path } } + +function a(x) { + if (true) { + return x; + } else if (false) { + return x + 1; + } else if (true) { + return 4; + } else if (true) { + return 5; + } else { + return 6; + } +} From d7af179553988d310071a31dfc2ed449cdf965b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Mon, 31 Oct 2016 09:51:56 +0000 Subject: [PATCH 05/10] Update newfile.js --- newfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newfile.js b/newfile.js index 225b9dc..3558b07 100644 --- a/newfile.js +++ b/newfile.js @@ -20,7 +20,7 @@ function a(x) { } } -function a(x) { +function b(x) { if (true) { return x; } else if (false) { From a60cdaab2d9f9da2598c5987bbd398ecf899aa63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Tue, 23 Jan 2018 11:23:01 +0000 Subject: [PATCH 06/10] Update newfile.js --- newfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newfile.js b/newfile.js index 3558b07..1a11634 100644 --- a/newfile.js +++ b/newfile.js @@ -33,3 +33,7 @@ function b(x) { return 6; } } + +var snake_cake = 'single' +var camelCase = "double" + From 3bc5be1ad92b31ddee18b0fed527d557eca2d391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Tue, 23 Jan 2018 11:42:58 +0000 Subject: [PATCH 07/10] Update newfile.js --- newfile.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/newfile.js b/newfile.js index 1a11634..afb1fac 100644 --- a/newfile.js +++ b/newfile.js @@ -34,6 +34,11 @@ function b(x) { } } -var snake_cake = 'single' -var camelCase = "double" +var snake_cake = 'single'; +var camelCase = "double"; + +var obj = { + snake_case : 1, + camelCase : 2 +}; From 34f33aa1d4b54b593cc52fc496e0312a59773543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Fri, 2 Feb 2018 16:06:00 +0000 Subject: [PATCH 08/10] Create complexity.js --- complexity.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 complexity.js diff --git a/complexity.js b/complexity.js new file mode 100644 index 0000000..257e913 --- /dev/null +++ b/complexity.js @@ -0,0 +1,3 @@ +function a(x) { + console.log("hey") +} From 8d08b50a4272cc2d26fe51cc556819ec0833aea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Fri, 2 Feb 2018 16:23:40 +0000 Subject: [PATCH 09/10] Create zero.js --- zero.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 zero.js diff --git a/zero.js b/zero.js new file mode 100644 index 0000000..1c010ca --- /dev/null +++ b/zero.js @@ -0,0 +1,3 @@ +function zero(x) { + +} From fc77a3627ab2fc6c00c632ce45aff157bd82d8ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Cort=C3=AAs?= Date: Tue, 6 Feb 2018 10:07:51 +0000 Subject: [PATCH 10/10] Update complexity.js --- complexity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/complexity.js b/complexity.js index 257e913..71829d4 100644 --- a/complexity.js +++ b/complexity.js @@ -1,3 +1,4 @@ function a(x) { console.log("hey") + console.log("hey hey") }