1. 8
  1.  

  2. 2

    I find the TrimLeft type to be a little insane but that might be because I cannot imagine a good use for it.

    I cannot imagine a reason why a private member should be testable in Javascript given the entire point of it is to be PRIVATE.

    1. 1

      Private members being available to other instances of the same class is pretty common I think. At least that’s how c++ works as well. It lets you write write equals or clone operations or a number of things that would otherwise be very difficult, and it’s not like you’re likely to accidentally misuse that privilege since you need to get a reference to the other class instance in the first place.