3 ms·
The above is an extension function(which is basically a member function of class not written in that class), which has an implicit `this` parameter. In other wo
by pirocks 6y ago
The above is an extension function(which is basically a member function of class not written in that class), which has an implicit `this` parameter. In other words `length` is actually `this.length`, just as it would be in a regular method.