From 9d3a7ed47feccd38429501bd481cb048136487ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:43:25 +0200 Subject: [PATCH 1/9] add glossary/Functional-programming --- glossary/Functional-programming.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 glossary/Functional-programming.md diff --git a/glossary/Functional-programming.md b/glossary/Functional-programming.md new file mode 100644 index 000000000..d5fe1fa22 --- /dev/null +++ b/glossary/Functional-programming.md @@ -0,0 +1,3 @@ +### Functional programming + +Functional programming is a paradigm in which programs are built in a declarative manner using pure functions that avoid shared state and mutable data. Functions that always return the same value for the same input and don't produce side effects are the pillar of functional programming. From 8c2c610f0533b7b02d35acb103e8338888b2bca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:45:19 +0200 Subject: [PATCH 2/9] add glossary/DOM --- glossary/DOM.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 glossary/DOM.md diff --git a/glossary/DOM.md b/glossary/DOM.md new file mode 100644 index 000000000..a55649e0e --- /dev/null +++ b/glossary/DOM.md @@ -0,0 +1,3 @@ +### DOM + +The DOM (Document Object Model) is a cross-platform API that treats HTML and XML documents as a tree structure consisting of nodes. These nodes (such as elements and text nodes) are objects that can be programmatically manipulated and any visible changes made to them are reflected live in the document. In a browser, this API is available to JavaScript where DOM nodes can be manipulated to change their styles, contents, placement in the document, or interacted with through event listeners. From 0cc12d0d9c4b3f89f8a2b5c4d1b8122c44e2180c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:47:36 +0200 Subject: [PATCH 3/9] add glossary/Recursion.md --- glossary/Recursion.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 glossary/Recursion.md diff --git a/glossary/Recursion.md b/glossary/Recursion.md new file mode 100644 index 000000000..24eb39bbd --- /dev/null +++ b/glossary/Recursion.md @@ -0,0 +1,3 @@ +### Recursion + +Recursion is the repeated application of a process. In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. The base condition breaks out of the recursion loop because otherwise the function would call itself indefinitely. Recursion is very useful when working with data structures that contain nesting where the number of levels deep is unknown. From 3a0515b18060b1affc6a8877ad0f52c4805f2d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:50:41 +0200 Subject: [PATCH 4/9] add glossary/Promise --- glossary/Promise.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Promise.md diff --git a/glossary/Promise.md b/glossary/Promise.md new file mode 100644 index 000000000..7ade5ccf7 --- /dev/null +++ b/glossary/Promise.md @@ -0,0 +1,4 @@ +### Promise + +The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value. +A Promise can be in one of these states: pending(initial state, neither fulfilled nor rejected), fulfilled(operation completed successfully), rejected(operation failed). From 442fdab5276c585b7235abafd8cc918df601b9bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:54:10 +0200 Subject: [PATCH 5/9] add glossary/XSS --- glossary/Cross-site-scripting.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 glossary/Cross-site-scripting.md diff --git a/glossary/Cross-site-scripting.md b/glossary/Cross-site-scripting.md new file mode 100644 index 000000000..f149054a8 --- /dev/null +++ b/glossary/Cross-site-scripting.md @@ -0,0 +1,3 @@ +### Cross-site scripting (XSS) + +XSS refers to client-side code injection where the attacker injects malicious scripts into a legitimate website or web application. This is often achieved when the application does not validate user input and freely injects dynamic HTML content. From f34546f576d30d63636bbae2281aaad642b42c4a Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 17 Jul 2018 21:01:24 +0300 Subject: [PATCH 6/9] Update and rename Cross-site-scripting.md to Cross-site-scripting-xss.md --- .../{Cross-site-scripting.md => Cross-site-scripting-xss.md} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename glossary/{Cross-site-scripting.md => Cross-site-scripting-xss.md} (57%) diff --git a/glossary/Cross-site-scripting.md b/glossary/Cross-site-scripting-xss.md similarity index 57% rename from glossary/Cross-site-scripting.md rename to glossary/Cross-site-scripting-xss.md index f149054a8..b9a53cc28 100644 --- a/glossary/Cross-site-scripting.md +++ b/glossary/Cross-site-scripting-xss.md @@ -1,3 +1,4 @@ ### Cross-site scripting (XSS) -XSS refers to client-side code injection where the attacker injects malicious scripts into a legitimate website or web application. This is often achieved when the application does not validate user input and freely injects dynamic HTML content. +XSS refers to client-side code injection where the attacker injects malicious scripts into a legitimate website or web application. +This is often achieved when the application does not validate user input and freely injects dynamic HTML content. From 9153a7763b406eea833b6675ffc4dd1a10cb76bf Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 17 Jul 2018 21:01:46 +0300 Subject: [PATCH 7/9] Update DOM.md --- glossary/DOM.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glossary/DOM.md b/glossary/DOM.md index a55649e0e..e7f82e24b 100644 --- a/glossary/DOM.md +++ b/glossary/DOM.md @@ -1,3 +1,5 @@ ### DOM -The DOM (Document Object Model) is a cross-platform API that treats HTML and XML documents as a tree structure consisting of nodes. These nodes (such as elements and text nodes) are objects that can be programmatically manipulated and any visible changes made to them are reflected live in the document. In a browser, this API is available to JavaScript where DOM nodes can be manipulated to change their styles, contents, placement in the document, or interacted with through event listeners. +The DOM (Document Object Model) is a cross-platform API that treats HTML and XML documents as a tree structure consisting of nodes. +These nodes (such as elements and text nodes) are objects that can be programmatically manipulated and any visible changes made to them are reflected live in the document. +In a browser, this API is available to JavaScript where DOM nodes can be manipulated to change their styles, contents, placement in the document, or interacted with through event listeners. From 979f4bbca39a89098d9ea67cc3c983a36b3f639e Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 17 Jul 2018 21:01:59 +0300 Subject: [PATCH 8/9] Update Functional-programming.md --- glossary/Functional-programming.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glossary/Functional-programming.md b/glossary/Functional-programming.md index d5fe1fa22..fa9db7996 100644 --- a/glossary/Functional-programming.md +++ b/glossary/Functional-programming.md @@ -1,3 +1,4 @@ ### Functional programming -Functional programming is a paradigm in which programs are built in a declarative manner using pure functions that avoid shared state and mutable data. Functions that always return the same value for the same input and don't produce side effects are the pillar of functional programming. +Functional programming is a paradigm in which programs are built in a declarative manner using pure functions that avoid shared state and mutable data. +Functions that always return the same value for the same input and don't produce side effects are the pillar of functional programming. From 1f11a227e7dfaba0c36c81199e8cf788ff93fd47 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 17 Jul 2018 21:04:11 +0300 Subject: [PATCH 9/9] Update Recursion.md --- glossary/Recursion.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glossary/Recursion.md b/glossary/Recursion.md index 24eb39bbd..23eb35182 100644 --- a/glossary/Recursion.md +++ b/glossary/Recursion.md @@ -1,3 +1,6 @@ ### Recursion -Recursion is the repeated application of a process. In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. The base condition breaks out of the recursion loop because otherwise the function would call itself indefinitely. Recursion is very useful when working with data structures that contain nesting where the number of levels deep is unknown. +Recursion is the repeated application of a process. +In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. +The base condition breaks out of the recursion loop because otherwise the function would call itself indefinitely. +Recursion is very useful when working with nested data, especially when the nesting depth is dynamically defined or unkown.