Skip to content

JS code with || operator becomes corrupted #74

@Vort

Description

@Vort

Try to make link with such code:
<script>document.write(0||1)</script>
It should just write 1, but instead browser shows
Uncaught SyntaxError: missing ) after argument list (at data:text/html;charset=utf-8,<base target="_top">%0A<script>document.write(0 1)</script>:2:24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions