Transcrypt
Transcrypt copied to clipboard
Bug in positional only arguments separator '/'
def Q(s, /):
print(s)
Q(3)
is translated as
export var Q=function(){__call__(print,null,s)}
__call__(Q,null,3)
which generates an error because s is not bound to anything.