Glossary: JavaScript Beyond the Basics
Method chaining
Also written: chained, chaining
Calling methods one after another on the same object, which works when each method returns `this`, as `card.topUp(25).topUp(15)` does.
Glossary: JavaScript Beyond the Basics
Also written: chained, chaining
Calling methods one after another on the same object, which works when each method returns `this`, as `card.topUp(25).topUp(15)` does.