Another way to do Javascript Method Chaining
Most ways of how people demonstrate javascript method chaining, is by showing you a class with methods that return the object in itself . You can then subsequently call other methods and continuing chaining. However, that got me thinking. What if my…