I call it an arrow ... but the difference is that using the arrow method you create a new instance of this class as an object, which can then be referenced as an object. The other simply calls a specific method of a particular class. Using an object, you can store the properties and functions of the call and store things in this object, and you can call several instances of this object and use them all separately ... I am incoherent, but there are many things that you can do with the object, which limited only by calling an individual method.
source
share