Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.
/ mo39-json Public archive

Mogic of Ingresss player 39M returns "膜39" JSON string without number or letter.

License

Notifications You must be signed in to change notification settings

zunsthy/mo39-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mo39-json

Mogic of Ingresss player 39M returns "膜39" JSON string.

mo39.js contains NO Numbers, NO Letters and just Mogic. Excited!

Install

npm i mo39-json -S
# or
npm install --save mo39-json

Use

const mo39 = require('mo39-json');
const http = require('http');

const mo = (_, res) => {
  res.writeHead(200, { 'Content-Type': 'application/json' });
  res.end(mo39);
};
const server = http.createServer(mo);
server.listen(3939, '127.0.0.39');

Test

npm test

Theory

alert(eval('"\\u819c39"')) // "膜39"

The parts:

"\\" === "\\"
 "u" === "function"[1]
  81 === 9 * 9
   9 === 10 - 1  === '1' + 0 - 1 
 "c" === "function"[3]
   3 === 1 + 1 + 1 === 4 - 1

The Basics:

     false === ![]
      true === !''
         1 === -~[] === +!![]
        -1 === ~[]
         0 === ~~[] === [] ^ [] === [] | [] === [] >>> []
"function" === /@/.test + ''

Assembly:

         3 === !''+!!{}-~[] === -~-~-~[]
         4 === !''-~``<<!!{}
         9 === -~{}+[''^/@/]- -~''
    "test" === 'true'[0] + 'false'[4] + 'false'[3] + 'true'[0] === ((t,f)=>t[0]+f[4]+f[3]+t[0])('true','false')
"function" === ''+/@/[(($,_)=>$[''^'']+_[!''-~``<<!!{}]+_[!''+!!{}-~[]]+$[~~{}])(`${!''}`,''+!~[])]

Host List

mo39-json is hosted by many volunteers. Here is an incomplete list:

License

MIT License

About

Mogic of Ingresss player 39M returns "膜39" JSON string without number or letter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published