Giter VIP home page Giter VIP logo

Comments (3)

aemkei avatar aemkei commented on August 30, 2024 1

Looks like it was introduced here:

b618bf4

cc @subzey

from jsfuck.

aemkei avatar aemkei commented on August 30, 2024 1

You are right. Thanks for the clarification!

from jsfuck.

hazzik avatar hazzik commented on August 30, 2024

@aemkei, @jserNc. What are the evidences of that '&' !== ("")["link"](0+")[10]? Which browser?

The repository has tests, and according to these tests all ASCII7 characters are generated correctly and produce correct results.

Because of the peculiarity of how the substitutions work in the JSFuck the " symbol if needed to be substituted by the code should not be enclosed into the quotes ('"') or escaped (\"). The original expression for & is ("")["link"](0+'"')[10] (note the difference between what's in the code and here: the " is not escaped). So, obviously this would not work as the string does not have a closing quote.

So, I assume that the @jserNc is trying to evaluate the above raw expression in the console window of the browser.

> ("")["link"](0+")[10]
VM63:1 Uncaught SyntaxError: Invalid or unexpected token
> ("")["link"](0+'"')[10]
"&"

I believe this is not an issue and shall be closed.

from jsfuck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.