🚀 JavaScript Array Methods Quiz
Test your knowledge of JavaScript array methods with this interactive quiz!
graph LR
Methods["fa:fa-code Array Methods"]
%% Array Modification Methods
Modify["fa:fa-pencil-alt Modification Methods"]
Methods -->|"Changes array content"| Modify
Modify -->|"Add to end"| Push["fa:fa-arrow-right push()"]
Modify -->|"Remove from end"| Pop["fa:fa-arrow-left pop()"]
Modify -->|"Add to start"| Unshift["fa:fa-arrow-left unshift()"]
Modify -->|"Remove from start"| Shift["fa:fa-arrow-right shift()"]
%% Array Transformation Methods
Transform["fa:fa-random Transformation Methods"]
Methods -->|"Creates new array/value"| Transform
Transform -->|"Transform elements"| Map["fa:fa-map map()"]
Transform -->|"Filter elements"| Filter["fa:fa-filter filter()"]
Transform -->|"Single value"| Reduce["fa:fa-compress reduce()"]
Transform -->|"Flatten arrays"| Flat["fa:fa-layer-group flat()"]
%% Array Utility Methods
Utility["fa:fa-tools Utility Methods"]
Methods -->|"Helper operations"| Utility
Utility -->|"Combine to string"| Join["fa:fa-link join()"]
Utility -->|"Test all elements"| Every["fa:fa-check-double every()"]
%% Style nodes
style Methods fill:#f9f,stroke:#333,stroke-width:2px
style Modify fill:#bbf,stroke:#333,stroke-width:2px
style Transform fill:#fbf,stroke:#333,stroke-width:2px
style Utility fill:#bfb,stroke:#333,stroke-width:2px