Este README também está disponível em Português.
This project was developed to practice modern JavaScript (ES6+) by implementing a student filter.
It uses classes, array methods, and arrow functions to filter students with grades greater than or equal to 6.
Babel is configured to transpile the code for browser compatibility using the @babel/preset-env.
- Defines a class to represent student name and grade;
- Uses
map()to transform raw objects into class instances; - Filters students based on minimum grade using
filter(); - Uses arrow functions and other ES6 syntax elements;
- Code is transpiled using Babel for wider browser support;
watchmode enabled via Babel CLI for development ease.
- Creating and using ES6 classes and constructors;
- Transforming and filtering arrays using
map()andfilter(); - Using arrow functions for concise syntax;
- Setting up and configuring Babel with
@babel/cliand@babel/preset-env; - Writing modern JavaScript that compiles for broader browser compatibility.
- JavaScript (ES6+)
- Babel CLI
- Babel Preset Env
- Node.js (NPM)
- Initialized project with Babel configuration and scripts;
- Created a constructor class to represent students and grades;
- Used
mapandfilterto process student data; - Added comments and organized logic for readability and maintainability.