diff --git a/complexity.js b/complexity.js new file mode 100644 index 0000000..71829d4 --- /dev/null +++ b/complexity.js @@ -0,0 +1,4 @@ +function a(x) { + console.log("hey") + console.log("hey hey") +} diff --git a/newfile.js b/newfile.js new file mode 100644 index 0000000..afb1fac --- /dev/null +++ b/newfile.js @@ -0,0 +1,44 @@ +function a(x) { + if (true) { + return x; // 1st path + } else if (false) { + 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 + } +} + +function b(x) { + if (true) { + return x; + } else if (false) { + return x + 1; + } else if (true) { + return 4; + } else if (true) { + return 5; + } else { + return 6; + } +} + +var snake_cake = 'single'; +var camelCase = "double"; + +var obj = { + snake_case : 1, + camelCase : 2 +}; + 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) { + +}