Q​u​i​n​e R​e​l​a​y​!
3. JavaScript → Python 2 → Foo

JavaScript

Classic JS quine. This is a full program which outputs to console:

(f=_=&gt;console.log(`print(${String.fromCharCode(39)}${String.fromCharCode(34)}(f=${f})()${String.fromCharCode(34)}${String.fromCharCode(39)})`))()


Try it online!

Python 2

Python code basically prints out the JS code with quotes:

print('"(f=_=>console.log(`print(${String.fromCharCode(39)}${String.fromCharCode(34)}(f=${f})()${String.fromCharCode(34)}${String.fromCharCode(39)})`))()"')



Try it online!

Foo

Foo code is JS code with quotes:

"(f=_=>console.log(`print(${String.fromCharCode(39)}${String.fromCharCode(34)}(f=${f})()${String.fromCharCode(34)}${String.fromCharCode(39)})`))()"



Try it online!