Welcome to my exploration of JavaScript context in the Context Practice section of the App Academy Open project! This project is part of my learning journey at App Academy Open, where I've been honing my skills in full-stack development.
- Clone the starter repository from the Starter Link.
- Run
npm install
to install any dependencies.
In this phase, I'm creating a Car
class to explore how to set and retrieve the speed of a car.
I'm delving into arithmetic operations with the Calculator
class, mastering basic math and maintaining a running total.
With the Dog
class, I'm naming, changing names, and making dogs speak. It's time to give these furry friends a voice!
Using the changeContext
function, I'm learning how to alter the context of a function, gaining a deeper understanding of JavaScript's inner workings.
With bindToAnArg
, I'm harnessing the power to bind arguments to functions, creating new functions with preset parameters.
Extending the Calculator
class, I'm tackling advanced operations like setting totals, calculating modulo, and squaring numbers.
By manipulating functions with allTheArgs
, I'm ensuring they're always invoked with specific arguments, enhancing flexibility and efficiency.
In the CallCenter
class, I'm scheduling delayed calls to greet clients, adding a personal touch to customer interactions.
Mastering the art of targeted function invocation, I'm using callOnTarget
to execute functions with precise contexts and arguments.
With the PartyPlanner
class, I'm orchestrating unforgettable events by managing guest lists and throwing epic parties.
Using boundFuncTimer
, I'm honing my skills in invoking functions with specific delays and contexts, adding precision to my code.
Each phase comes with its own set of test specs located in the test
directory. I put my skills to the test by running the specs with the command npm test <test-file>
.