This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! Aaaaaaaaaaa this is JS!!! | |
// https://github.com/tc39/proposal-hashbang | |
// This file is mixing all new syntaxes in the proposal in one file without considering syntax conflict or correct runtime semantics | |
// Enjoy!!! | |
// Created at Nov 23, 2018 | |
for await(const x of (new A // https://github.com/tc39/proposal-pipeline-operator | |
|> do { // https://github.com/tc39/proposal-do-expressions | |
case(?) { // https://github.com/tc39/proposal-pattern-matching | |
when {val}: class { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// inspired by https://twitter.com/nixcraft/status/1162020669242003456 | |
console.log('Roses are red, violets are blue.'); | |
// ooooooooo. | |
// `888 `Y88. | |
// 888 .d88' .ooooo. .oooo.o .ooooo. .oooo.o .oooo. oooo d8b .ooooo. | |
// 888ooo88P' d88' `88b d88( "8 d88' `88b d88( "8 `P )88b `888""8P d88' `88b | |
// 888`88b. 888 888 `"Y88b. 888ooo888 `"Y88b. .oP"888 888 888ooo888 | |
// 888 `88b. 888 888 o. )88b 888 .o o. )88b d8( 888 888 888 .o |