Transcrypt
Transcrypt copied to clipboard
`__new__` ignores all arguments
When constructing JavaScript objects using __new__
the arguments aren't passed on to JS. For example,
new_date = __new__(Date, (2024, 8, 25))
compiles to
// [boilerplate]
export var new_date = new Date;
Used command: transcrypt test.py --nomin
Transcrypt version: 3.9.3