Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

[View Problem on LeetCode](https://leetcode.com/problems/calculator-with-method-chaining/)

This problem introduces JavaScript classes, by asking us to implement a simple class that holds one value. The code structure will be similar to classes in Java, C++, and even Python.

We'll also have to support "method chaining", which is a fancy way of saying that we shouldn't have any `void` methods, but rather `return this` from all of our mutating methods.

Once you've worked on the problem, check out [the full write-up and solution](solution.md)!
Loading
Loading