/js-quine

The quine in js without String#toString

Mozilla Public License 2.0MPL-2.0

js-quine

The quine in js without Function.toString.

!function (v) {
    console.log(
        v
        + '(`'
        + v.replace(
            new RegExp(String.fromCharCode(96),'g'),
            String.fromCharCode(92) + String.fromCharCode(96)) + '`);'
        )
    ;
}(`!function (v) {
    console.log(
        v 
        + '(\`' 
        + v.replace(
            new RegExp(String.fromCharCode(96),'g'), 
            String.fromCharCode(92) + String.fromCharCode(96)) + '\`);'
        )
    ;
}`);