Skip to content

timscodebase/JavaScript-Is-Weird

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Javascript Is Weird

To offset some of the banana-based JavaScript "weirdness" that's making the rounds, I'm bring you a 40 line JSFuck compiler that turns innocent looking JS into a mess of obfuscated symbols.

This is a port of Martin Kleppe's original JSFuck compiler to Haskell using the Parsec library.


Here is how it works:

Update the console.log("Hello World!"); protion on line 43 of index.js.

To "complile" the console.log statement, run node index.js in the terminal.

If you want to see the output, run node index.js | node in the terminal.

If you want to save the output to a file, run node index.js > output.js in the terminal.


Here are some helpful links:

About

Code for the JS Is Weird (EXTREME EDITION) video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%