{"id":18973902,"url":"https://github.com/ps0305/javascript-algorithms-and-data-structures","last_synced_at":"2025-04-05T05:08:46.838Z","repository":{"id":41190968,"uuid":"139864680","full_name":"ps0305/Javascript-Algorithms-And-Data-Structures","owner":"ps0305","description":":books: Javascript Algorithms And Data Structures","archived":false,"fork":false,"pushed_at":"2025-01-23T15:20:50.000Z","size":52306,"stargazers_count":136,"open_issues_count":0,"forks_count":39,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T04:08:19.136Z","etag":null,"topics":["algorithm-scripting","algorithms","basic-algorithm","data-structures","datastructures-algorithms","debugging","es6","functional-programming","hacktoberfest","hacktoberfest2020","hactoberfest2023","hactoberfest2024","javascript","javascript-algorithms","object-oriented-programming","scripting-language"],"latest_commit_sha":null,"homepage":"https://ps0305.github.io/Javascript-Algorithms-And-Data-Structures/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ps0305.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T14:56:57.000Z","updated_at":"2025-03-14T17:21:46.000Z","dependencies_parsed_at":"2025-02-16T15:23:01.527Z","dependency_job_id":null,"html_url":"https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps0305%2FJavascript-Algorithms-And-Data-Structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps0305%2FJavascript-Algorithms-And-Data-Structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps0305%2FJavascript-Algorithms-And-Data-Structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps0305%2FJavascript-Algorithms-And-Data-Structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ps0305","download_url":"https://codeload.github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289428,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-scripting","algorithms","basic-algorithm","data-structures","datastructures-algorithms","debugging","es6","functional-programming","hacktoberfest","hacktoberfest2020","hactoberfest2023","hactoberfest2024","javascript","javascript-algorithms","object-oriented-programming","scripting-language"],"created_at":"2024-11-08T15:13:32.097Z","updated_at":"2025-04-05T05:08:46.804Z","avatar_url":"https://github.com/ps0305.png","language":"JavaScript","readme":"## JavaScript is ...\na `dynamic`, `weakly typed`, `prototype-based` language with `first-class functions`.\n\n## JS is Dynamic\n```js\n//Compilation and execution happen together.\n\nvar propMap = {\n  val: \"value\", html: \"innerHTML\"\n};\n\nfor(var fnName in propMap){\n\t\n  $.prototype[fnName] = (function(prop){\n  \treturn function(){\n  \t  return this[prop];\n  \t}\n  })(propMap[fnName]);\n}\n```\n\n## JS is Weakly Typed\n```js\n//Type associated with value, not variable.\n\nvar a = 1;\na = \"one\";\na = [1];\na = {one: 1};\n```\n## JS has 1st Class Functions\n```js\n//Treat like any object\n\nvar square = function(x){ return x*x },  //create\n\n  \t mult = function(f1, f2){            // Return\n    \t\treturn function(n){\n      \t\treturn f1(n)*f2(n);\n    \t\t}\n  \t },\n\n  \t bigF = mult(square, square),        // ARG\n\nvalue = bigF(2); // 16\n```\n\n## JS is Prototype Based\n![image](https://user-images.githubusercontent.com/34129569/42721434-90dd4da2-8758-11e8-870e-276cbabef051.png)\n\n\n\nJavaScript (JS) is a lightweight, interpreted or `JIT compiled programming language` with `first-class functions`. Most well-known as the scripting language for Web pages, `many non-browser environments` also use it, such as `node.js` and Apache `CouchDB`. JS is a `prototype-based`, multi-paradigm, dynamic scripting language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. \n\n\n[Basic JavaScript](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Basic%20JavaScript)\n\n[Algorithm](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Basic%20Algorithm%20Scripting)\n\n[Data Structures](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Basic%20Data%20Structures)\n\n[Object oriented Programming](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Object%20Oriented%20Programming)\n\n[Functional Programming](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Functional%20Programming)\n\n[ES6](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/ES6)\n\n[Important CS Concepts](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Important%20CS%20Concepts)\n\n[leetcode Problems](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/leetcode)\n\n[HackerRank](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/HackerRank-10-Days-Of-JavaScript-Solutions)\n\n[Coding Interview Prep](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Coding%20Interview%20Prep)\n\n[Blind 75 LeetCode](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/blob/master/Coding%20Interview%20Prep/Blind%2075%20LeetCode.md)\n\n[Projects](https://github.com/ps0305/Javascript-Algorithms-And-Data-Structures/tree/master/Projects)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps0305%2Fjavascript-algorithms-and-data-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fps0305%2Fjavascript-algorithms-and-data-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps0305%2Fjavascript-algorithms-and-data-structures/lists"}