Comments (3)
Looks like it was introduced here:
cc @subzey
from jsfuck.
You are right. Thanks for the clarification!
from jsfuck.
@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)
- Wrong result? HOT 3
- Alternative representation of numbers
- It is possible to call function with 2 arguments? HOT 4
- You can actually get the upper case version of the letters, since String.prototype.toUpperCase() exists, and we have capital U and capital C HOT 2
- Troubles to execute the current code HOT 2
- Why `escapeSequence()` treat characters whose charCodes is under 256 as ascii, not utf-16? HOT 4
- Note: Array.prototype.at() is available now HOT 3
- Documentation out of date
- JSFuck variant using "([+<])". Has anybody tried this before? HOT 13
- ([]["isPrototypeOf"] + "")[11] HOT 4
- Use array 'at' method instead of array 'filter' method HOT 3
- A better way of getting `A` HOT 2
- Faster way to get Capital A HOT 3
- easier alternative way of getting infinity through whatever buggy js exists in this world HOT 1
- JSF code does not work if CSP forbids `eval`/`new Function`
- Uppercase characters HOT 2
- Please make better input box HOT 1
- undefined compiles in to nothing HOT 2
- Is decode not possible using node.js? HOT 1
- Simply crack JSFuck, is there a better encryption? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsfuck.