Tag

JSFuck

1 views collected around this technical thread.

大转转FE
大转转FE
Aug 2, 2024 · Fundamentals

JavaScript Implicit Type Conversions You Didn't Know

This article examines JavaScript’s implicit type conversion mechanisms, illustrating a quirky yet functional code example, detailing conversion rules for symbols, objects, arrays, numbers, booleans, and undefined/null, and highlighting common pitfalls and practical coding tricks.

JSFuckJavaScriptcoding tricks
0 likes · 11 min read
JavaScript Implicit Type Conversions You Didn't Know
IT Services Circle
IT Services Circle
Jul 21, 2022 · Frontend Development

Understanding JSFuck: Writing Executable JavaScript with Only []()!+ Characters

This article explains how JavaScript’s type coercion rules allow the construction of any code using only six characters—[]()!+—by demonstrating conversions for booleans, numbers, letters, special symbols, and finally assembling arbitrary executable code via the Function constructor, with examples and a link to the online converter.

JSFuckJavaScriptcode generation
0 likes · 6 min read
Understanding JSFuck: Writing Executable JavaScript with Only []()!+ Characters
Beike Product & Technology
Beike Product & Technology
Mar 23, 2018 · Frontend Development

Building JavaScript from Six Characters: A jsFuck Tutorial

This article explains how JavaScript’s type coercion rules can be exploited to construct any string or code using only the characters []()+! and demonstrates step‑by‑step how to build letters, functions, and even execute code, illustrating the principles behind the jsFuck obfuscation technique.

JSFuckJavaScriptcode obfuscation
0 likes · 7 min read
Building JavaScript from Six Characters: A jsFuck Tutorial