Remove parameters from (future) .return(…)
method
#14
Labels
Change: major
[Issue / PR] describes a breaking change of any kind
Domain: main
[Issue / PR] describes change in the functionality, its optimization
Pending: blocked
[Issue / PR] cannot be addressed until another issue is resolved
Priority: medium
[Issue / PR] should be addressed without delay
Type: bug
[Issue / PR] addresses malfunction
Protocol-compliant implementation assumes
.return(…)
method having a parameter, that's basically passed through as the return value of the method's call. Sincexrange
is a number iterator, it is designed to return "nothing" (i.e.,undefined
) after the iterated range is finished (the currentNaN
is temporary as per parzh/xrange#50), which means that the returned value of.return(…)
is always an implicitundefined
, and it doesn't depend on any inputs.The text was updated successfully, but these errors were encountered: