# faisalkhan2019/javascript architecture

> Architecture diagram of the GitHub repository faisalkhan2019/javascript, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/faisalkhan2019/javascript
- Repository: https://github.com/faisalkhan2019/javascript

## Overview

This repository is a collection of standalone JavaScript learning examples, not an integrated application. Its principal workflow is a learner opening and running a script to observe language behavior; each file demonstrates a topic locally. The examples span values and types, functions and scope, objects and arrays, and iteration and transformations. The README gives no further product workflow. The sampled files show no imports or cross-file calls, so the graph groups examples by subject rather than inventing runtime connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_values["Values and Types"]
  node_data_conversion["Type Conversion"]
  node_data_types["Data Types<br/>[DataTypes.js]"]
  node_date_time["Date and Time<br/>[Date-Time.js]"]
  node_number_math["Numbers and Math<br/>[Number-Math.js]"]
  node_operations["Operations<br/>[operations.js]"]
  node_string_examples["Strings<br/>[String.js]"]
  node_to_string["toString<br/>[toString.js]"]
  node_practice["Language Practice<br/>[Practice-file.js]"]
end

subgraph group_functions["Functions and Scope"]
  node_variables["Variables<br/>[variables.js]"]
  node_scope_function["Function Scope<br/>[scope-function.js]"]
  node_functions_scope["Scope Examples<br/>[Functions_scope.js]"]
  node_scope_hoisting["Scope and Hoisting"]
  node_iife["IIFEs<br/>[IIFE.js]"]
  node_functions_brocode["Function Examples"]
  node_functions_chai["Function Guide"]
  node_functions_old["Function Basics<br/>[functions-old.js]"]
  node_functions_part2["Function Examples II<br/>[functions-Part2.js]"]
  node_rest_guide["Rest and Parameters"]
  node_callbacks["Callbacks<br/>[callBacks.js]"]
  node_stack_heap["Stack and Heap"]
end

subgraph group_collections["Objects and Arrays"]
  node_objects["Objects<br/>[Objects.js]"]
  node_destructuring["Destructuring"]
  node_arrays["Arrays<br/>[Arrays.js]"]
end

subgraph group_iteration["Iteration and Transformations"]
  node_foreach["forEach<br/>[forEach.js]"]
  node_filter["Filtering<br/>[Filter.js]"]
  node_reduce["Reduce<br/>[Reduce.js]"]
  node_reduce_a["Reduce Examples<br/>[ReduceA.js]"]
end

click node_data_conversion "https://github.com/faisalkhan2019/javascript/blob/Main/DataType-Conversion.js"
click node_data_types "https://github.com/faisalkhan2019/javascript/blob/Main/DataTypes.js"
click node_date_time "https://github.com/faisalkhan2019/javascript/blob/Main/Date-Time.js"
click node_number_math "https://github.com/faisalkhan2019/javascript/blob/Main/Number-Math.js"
click node_operations "https://github.com/faisalkhan2019/javascript/blob/Main/operations.js"
click node_string_examples "https://github.com/faisalkhan2019/javascript/blob/Main/String.js"
click node_to_string "https://github.com/faisalkhan2019/javascript/blob/Main/toString.js"
click node_practice "https://github.com/faisalkhan2019/javascript/blob/Main/Practice-file.js"
click node_variables "https://github.com/faisalkhan2019/javascript/blob/Main/variables.js"
click node_scope_function "https://github.com/faisalkhan2019/javascript/blob/Main/scope-function.js"
click node_functions_scope "https://github.com/faisalkhan2019/javascript/blob/Main/Functions_scope.js"
click node_scope_hoisting "https://github.com/faisalkhan2019/javascript/blob/Main/Scope-Level-mini-hoisting.js"
click node_iife "https://github.com/faisalkhan2019/javascript/blob/Main/IIFE.js"
click node_functions_brocode "https://github.com/faisalkhan2019/javascript/blob/Main/Functions-broCode.js"
click node_functions_chai "https://github.com/faisalkhan2019/javascript/blob/Main/functions-chaiCode.js"
click node_functions_old "https://github.com/faisalkhan2019/javascript/blob/Main/functions-old.js"
click node_functions_part2 "https://github.com/faisalkhan2019/javascript/blob/Main/functions-Part2.js"
click node_rest_guide "https://github.com/faisalkhan2019/javascript/blob/Main/js_functions_rest_guide.js"
click node_callbacks "https://github.com/faisalkhan2019/javascript/blob/Main/callBacks.js"
click node_stack_heap "https://github.com/faisalkhan2019/javascript/blob/Main/Stack-and-Heap-Memory.js"
click node_objects "https://github.com/faisalkhan2019/javascript/blob/Main/Objects.js"
click node_destructuring "https://github.com/faisalkhan2019/javascript/blob/Main/de-structuring-in-Objects.js"
click node_arrays "https://github.com/faisalkhan2019/javascript/blob/Main/Arrays.js"
click node_foreach "https://github.com/faisalkhan2019/javascript/blob/Main/forEach.js"
click node_filter "https://github.com/faisalkhan2019/javascript/blob/Main/Filter.js"
click node_reduce "https://github.com/faisalkhan2019/javascript/blob/Main/Reduce.js"
click node_reduce_a "https://github.com/faisalkhan2019/javascript/blob/Main/ReduceA.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_data_conversion,node_data_types,node_date_time,node_number_math,node_operations,node_string_examples,node_to_string,node_practice toneBlue
class node_variables,node_scope_function,node_functions_scope,node_scope_hoisting,node_iife,node_functions_brocode,node_functions_chai,node_functions_old,node_functions_part2,node_rest_guide,node_callbacks,node_stack_heap toneAmber
class node_objects,node_destructuring,node_arrays toneMint
class node_foreach,node_filter,node_reduce,node_reduce_a toneRose
```

## Components

### Values and Types

- [Type Conversion](https://github.com/faisalkhan2019/javascript/blob/Main/DataType-Conversion.js): `DataType-Conversion.js`
- [Data Types](https://github.com/faisalkhan2019/javascript/blob/Main/DataTypes.js): `DataTypes.js`
- [Date and Time](https://github.com/faisalkhan2019/javascript/blob/Main/Date-Time.js): `Date-Time.js`
- [Numbers and Math](https://github.com/faisalkhan2019/javascript/blob/Main/Number-Math.js): `Number-Math.js`
- [Operations](https://github.com/faisalkhan2019/javascript/blob/Main/operations.js): `operations.js`
- [Strings](https://github.com/faisalkhan2019/javascript/blob/Main/String.js): `String.js`
- [toString](https://github.com/faisalkhan2019/javascript/blob/Main/toString.js): `toString.js`
- [Language Practice](https://github.com/faisalkhan2019/javascript/blob/Main/Practice-file.js): `Practice-file.js`

### Functions and Scope

- [Variables](https://github.com/faisalkhan2019/javascript/blob/Main/variables.js): `variables.js`
- [Function Scope](https://github.com/faisalkhan2019/javascript/blob/Main/scope-function.js): `scope-function.js`
- [Scope Examples](https://github.com/faisalkhan2019/javascript/blob/Main/Functions_scope.js): `Functions_scope.js`
- [Scope and Hoisting](https://github.com/faisalkhan2019/javascript/blob/Main/Scope-Level-mini-hoisting.js): `Scope-Level-mini-hoisting.js`
- [IIFEs](https://github.com/faisalkhan2019/javascript/blob/Main/IIFE.js): `IIFE.js`
- [Function Examples](https://github.com/faisalkhan2019/javascript/blob/Main/Functions-broCode.js): `Functions-broCode.js`
- [Function Guide](https://github.com/faisalkhan2019/javascript/blob/Main/functions-chaiCode.js): `functions-chaiCode.js`
- [Function Basics](https://github.com/faisalkhan2019/javascript/blob/Main/functions-old.js): `functions-old.js`
- [Function Examples II](https://github.com/faisalkhan2019/javascript/blob/Main/functions-Part2.js): `functions-Part2.js`
- [Rest and Parameters](https://github.com/faisalkhan2019/javascript/blob/Main/js_functions_rest_guide.js): `js_functions_rest_guide.js`
- [Callbacks](https://github.com/faisalkhan2019/javascript/blob/Main/callBacks.js): `callBacks.js`
- [Stack and Heap](https://github.com/faisalkhan2019/javascript/blob/Main/Stack-and-Heap-Memory.js): `Stack-and-Heap-Memory.js`

### Objects and Arrays

- [Objects](https://github.com/faisalkhan2019/javascript/blob/Main/Objects.js): `Objects.js`
- [Destructuring](https://github.com/faisalkhan2019/javascript/blob/Main/de-structuring-in-Objects.js): `de-structuring-in-Objects.js`
- [Arrays](https://github.com/faisalkhan2019/javascript/blob/Main/Arrays.js): `Arrays.js`

### Iteration and Transformations

- [forEach](https://github.com/faisalkhan2019/javascript/blob/Main/forEach.js): `forEach.js`
- [Filtering](https://github.com/faisalkhan2019/javascript/blob/Main/Filter.js): `Filter.js`
- [Reduce](https://github.com/faisalkhan2019/javascript/blob/Main/Reduce.js): `Reduce.js`
- [Reduce Examples](https://github.com/faisalkhan2019/javascript/blob/Main/ReduceA.js): `ReduceA.js`
