Post History
Javascript V8, 888 bytes $=-~[] *~-((~-~ [])** -~- ~[]); _$=$+ ~[];$$_=_$...
Answer
#3: Post edited
- # [Javascript V8](https://v8.dev), 888 bytes
- ```js
- $=-~[]
- *~-((~-~
- [])** -~-
- ~[]); _$=$+ ~[];$$_=_$
- +$;$$={ }+[];_$$ =![]+[];
- $_=!![]+[ ];$=$$[$+_$ ]+$$[-~
- []]+(_$$[![ ]+[]]+[])[-~ []]+_$$[
- _$-~[]]+$$[$+$]+$_[-~[]]+$_[_$]+$$[
- $+$+~[]]+$$[$+_$-~[]]+$$[-~[]]+$_[-
- ~[]];$$='\\x';_=(_$**(_$+_$-~[]))+
- _$**(_$-~[]);__=_+_/_$;$[$][$](_$$[-
- ~[]]+_$$[_$]+_$$[_$+_$]+$_[-~[]]+
- $_[+[]]+"('"+$$+(_+_$**(_$-~[])
- )+$$+(__+$$_)+$$+(__+[])[+[]]
- +({ }+[ ])[ $$_
- ]+$$ +(__ +[]) [+[]
- ]+({ }+[] )[$$_ ]+$$
- +(__ +[]) [+[]] +_$$
- [+[] ]+$$ +_/_$ +$$+
- (__- _$+~ [])+ $$+(
- __+[ ])[+ []]+ _$$[
- +[]] +$$+ (__+ __/$$_
- )+$$ +(__ +[]) [+[]]+
- ({}+[]) [$$_]+$$+ (__+_$+ _$)+"')")()
- ```
Absolutely the shortest possible, no doubt about it. [Try it online!](https://tio.run/##hVLBasMwDL37K9IgiB1heh2EfIlrRNlpO41tlEFpfj3Ts@wkt5TQRNJ78nuyPu@P@8/798fXb3y8rWt3@qM5Lim7U9y4RO@XuJwiUw7j2HVxiQ2q/cPUykIz8V6YiGQWqlAmjeenBS/WshBZNF9SRsKQSrqUBAJtMhMlYinYzBpUoSln9tojXRIKCFWMVq2EiiuiMIRCJCZ9S6oJSUIlrzAt8Q47cDasWsYnTAy3298wyaynj6P@VXwI7GqmhJOofZarqPNEWZ8itzYqAiHA3ixHbVAkqXjq/dCrELXKx@awFiwv@pLtGzMAEQD2zzLrwxVqFTMmcTZNgES2MuiYLWNvcuHbbVk5JGV27SbcRq20yjQwjLnUqHaW5a92mR0kO20R6/bwsq1ZXSN4cjDVtHNDZG47p/e3n0ltATEKA8gVbkM7f7e7ibZBO/98WQomc2mFLoKWQoH7IfTBh3X9Bw "JavaScript (V8) – Try It Online"). It won't work in the online one, copy it from there and paste it in the developer console if you are on chrome (as it uses the `alert` function). Please excuse my absolutely awful ascii art.
- # [Javascript V8](https://v8.dev), 888 bytes
- ```js
- $=-~[]
- *~-((~-~
- [])** -~-
- ~[]); _$=$+ ~[];$$_=_$
- +$;$$={ }+[];_$$ =![]+[];
- $_=!![]+[ ];$=$$[$+_$ ]+$$[-~
- []]+(_$$[![ ]+[]]+[])[-~ []]+_$$[
- _$-~[]]+$$[$+$]+$_[-~[]]+$_[_$]+$$[
- $+$+~[]]+$$[$+_$-~[]]+$$[-~[]]+$_[-
- ~[]];$$='\\x';_=(_$**(_$+_$-~[]))+
- _$**(_$-~[]);__=_+_/_$;$[$][$](_$$[-
- ~[]]+_$$[_$]+_$$[_$+_$]+$_[-~[]]+
- $_[+[]]+"('"+$$+(_+_$**(_$-~[])
- )+$$+(__+$$_)+$$+(__+[])[+[]]
- +({ }+[ ])[ $$_
- ]+$$ +(__ +[]) [+[]
- ]+({ }+[] )[$$_ ]+$$
- +(__ +[]) [+[]] +_$$
- [+[] ]+$$ +_/_$ +$$+
- (__- _$+~ [])+ $$+(
- __+[ ])[+ []]+ _$$[
- +[]] +$$+ (__+ __/$$_
- )+$$ +(__ +[]) [+[]]+
- ({}+[]) [$$_]+$$+ (__+_$+ _$)+"')")()
- ```
- Absolutely the shortest possible, no doubt about it. [Try it online!](https://tio.run/##hVLBasMwDL37K9IgiB1heh2EfIlrRNlpO41tlEFpfj3Ts@wkt5TQRNJ78nuyPu@P@8/798fXb3y8rWt3@qM5Lim7U9y4RO@XuJwiUw7j2HVxiQ2q/cPUykIz8V6YiGQWqlAmjeenBS/WshBZNF9SRsKQSrqUBAJtMhMlYinYzBpUoSln9tojXRIKCFWMVq2EiiuiMIRCJCZ9S6oJSUIlrzAt8Q47cDasWsYnTAy3298wyaynj6P@VXwI7GqmhJOofZarqPNEWZ8itzYqAiHA3ixHbVAkqXjq/dCrELXKx@awFiwv@pLtGzMAEQD2zzLrwxVqFTMmcTZNgES2MuiYLWNvcuHbbVk5JGV27SbcRq20yjQwjLnUqHaW5a92mR0kO20R6/bwsq1ZXSN4cjDVtHNDZG47p/e3n0ltATEKA8gVbkM7f7e7ibZBO/98WQomc2mFLoKWQoH7IfTBh3X9Bw "JavaScript (V8) – Try It Online"). It won't work in the online one, copy it from there and paste it in the developer console if you are on chrome (as it uses the `alert` function). Please excuse my absolutely awful ascii art.
- I also now see that this output isn't accepted (needs the comma and exclamation mark)... lol now it's time to figure out how I did this months ago so I can fix it ...
#2: Post edited
# Javascript, 888 bytes- ```js
- $=-~[]
- *~-((~-~
- [])** -~-
- ~[]); _$=$+ ~[];$$_=_$
- +$;$$={ }+[];_$$ =![]+[];
- $_=!![]+[ ];$=$$[$+_$ ]+$$[-~
- []]+(_$$[![ ]+[]]+[])[-~ []]+_$$[
- _$-~[]]+$$[$+$]+$_[-~[]]+$_[_$]+$$[
- $+$+~[]]+$$[$+_$-~[]]+$$[-~[]]+$_[-
- ~[]];$$='\\x';_=(_$**(_$+_$-~[]))+
- _$**(_$-~[]);__=_+_/_$;$[$][$](_$$[-
- ~[]]+_$$[_$]+_$$[_$+_$]+$_[-~[]]+
- $_[+[]]+"('"+$$+(_+_$**(_$-~[])
- )+$$+(__+$$_)+$$+(__+[])[+[]]
- +({ }+[ ])[ $$_
- ]+$$ +(__ +[]) [+[]
- ]+({ }+[] )[$$_ ]+$$
- +(__ +[]) [+[]] +_$$
- [+[] ]+$$ +_/_$ +$$+
- (__- _$+~ [])+ $$+(
- __+[ ])[+ []]+ _$$[
- +[]] +$$+ (__+ __/$$_
- )+$$ +(__ +[]) [+[]]+
- ({}+[]) [$$_]+$$+ (__+_$+ _$)+"')")()
- ```
- Absolutely the shortest possible, no doubt about it. [Try it online!](https://tio.run/##hVLBasMwDL37K9IgiB1heh2EfIlrRNlpO41tlEFpfj3Ts@wkt5TQRNJ78nuyPu@P@8/798fXb3y8rWt3@qM5Lim7U9y4RO@XuJwiUw7j2HVxiQ2q/cPUykIz8V6YiGQWqlAmjeenBS/WshBZNF9SRsKQSrqUBAJtMhMlYinYzBpUoSln9tojXRIKCFWMVq2EiiuiMIRCJCZ9S6oJSUIlrzAt8Q47cDasWsYnTAy3298wyaynj6P@VXwI7GqmhJOofZarqPNEWZ8itzYqAiHA3ixHbVAkqXjq/dCrELXKx@awFiwv@pLtGzMAEQD2zzLrwxVqFTMmcTZNgES2MuiYLWNvcuHbbVk5JGV27SbcRq20yjQwjLnUqHaW5a92mR0kO20R6/bwsq1ZXSN4cjDVtHNDZG47p/e3n0ltATEKA8gVbkM7f7e7ibZBO/98WQomc2mFLoKWQoH7IfTBh3X9Bw "JavaScript (V8) – Try It Online"). It won't work in the online one, copy it from there and paste it in the developer console if you are on chrome (as it uses the `alert` function). Please excuse my absolutely awful ascii art.
- # [Javascript V8](https://v8.dev), 888 bytes
- ```js
- $=-~[]
- *~-((~-~
- [])** -~-
- ~[]); _$=$+ ~[];$$_=_$
- +$;$$={ }+[];_$$ =![]+[];
- $_=!![]+[ ];$=$$[$+_$ ]+$$[-~
- []]+(_$$[![ ]+[]]+[])[-~ []]+_$$[
- _$-~[]]+$$[$+$]+$_[-~[]]+$_[_$]+$$[
- $+$+~[]]+$$[$+_$-~[]]+$$[-~[]]+$_[-
- ~[]];$$='\\x';_=(_$**(_$+_$-~[]))+
- _$**(_$-~[]);__=_+_/_$;$[$][$](_$$[-
- ~[]]+_$$[_$]+_$$[_$+_$]+$_[-~[]]+
- $_[+[]]+"('"+$$+(_+_$**(_$-~[])
- )+$$+(__+$$_)+$$+(__+[])[+[]]
- +({ }+[ ])[ $$_
- ]+$$ +(__ +[]) [+[]
- ]+({ }+[] )[$$_ ]+$$
- +(__ +[]) [+[]] +_$$
- [+[] ]+$$ +_/_$ +$$+
- (__- _$+~ [])+ $$+(
- __+[ ])[+ []]+ _$$[
- +[]] +$$+ (__+ __/$$_
- )+$$ +(__ +[]) [+[]]+
- ({}+[]) [$$_]+$$+ (__+_$+ _$)+"')")()
- ```
- Absolutely the shortest possible, no doubt about it. [Try it online!](https://tio.run/##hVLBasMwDL37K9IgiB1heh2EfIlrRNlpO41tlEFpfj3Ts@wkt5TQRNJ78nuyPu@P@8/798fXb3y8rWt3@qM5Lim7U9y4RO@XuJwiUw7j2HVxiQ2q/cPUykIz8V6YiGQWqlAmjeenBS/WshBZNF9SRsKQSrqUBAJtMhMlYinYzBpUoSln9tojXRIKCFWMVq2EiiuiMIRCJCZ9S6oJSUIlrzAt8Q47cDasWsYnTAy3298wyaynj6P@VXwI7GqmhJOofZarqPNEWZ8itzYqAiHA3ixHbVAkqXjq/dCrELXKx@awFiwv@pLtGzMAEQD2zzLrwxVqFTMmcTZNgES2MuiYLWNvcuHbbVk5JGV27SbcRq20yjQwjLnUqHaW5a92mR0kO20R6/bwsq1ZXSN4cjDVtHNDZG47p/e3n0ltATEKA8gVbkM7f7e7ibZBO/98WQomc2mFLoKWQoH7IfTBh3X9Bw "JavaScript (V8) – Try It Online"). It won't work in the online one, copy it from there and paste it in the developer console if you are on chrome (as it uses the `alert` function). Please excuse my absolutely awful ascii art.
#1: Initial revision
# Javascript, 888 bytes ```js $=-~[] *~-((~-~ [])** -~- ~[]); _$=$+ ~[];$$_=_$ +$;$$={ }+[];_$$ =![]+[]; $_=!![]+[ ];$=$$[$+_$ ]+$$[-~ []]+(_$$[![ ]+[]]+[])[-~ []]+_$$[ _$-~[]]+$$[$+$]+$_[-~[]]+$_[_$]+$$[ $+$+~[]]+$$[$+_$-~[]]+$$[-~[]]+$_[- ~[]];$$='\\x';_=(_$**(_$+_$-~[]))+ _$**(_$-~[]);__=_+_/_$;$[$][$](_$$[- ~[]]+_$$[_$]+_$$[_$+_$]+$_[-~[]]+ $_[+[]]+"('"+$$+(_+_$**(_$-~[]) )+$$+(__+$$_)+$$+(__+[])[+[]] +({ }+[ ])[ $$_ ]+$$ +(__ +[]) [+[] ]+({ }+[] )[$$_ ]+$$ +(__ +[]) [+[]] +_$$ [+[] ]+$$ +_/_$ +$$+ (__- _$+~ [])+ $$+( __+[ ])[+ []]+ _$$[ +[]] +$$+ (__+ __/$$_ )+$$ +(__ +[]) [+[]]+ ({}+[]) [$$_]+$$+ (__+_$+ _$)+"')")() ``` Absolutely the shortest possible, no doubt about it. [Try it online!](https://tio.run/##hVLBasMwDL37K9IgiB1heh2EfIlrRNlpO41tlEFpfj3Ts@wkt5TQRNJ78nuyPu@P@8/798fXb3y8rWt3@qM5Lim7U9y4RO@XuJwiUw7j2HVxiQ2q/cPUykIz8V6YiGQWqlAmjeenBS/WshBZNF9SRsKQSrqUBAJtMhMlYinYzBpUoSln9tojXRIKCFWMVq2EiiuiMIRCJCZ9S6oJSUIlrzAt8Q47cDasWsYnTAy3298wyaynj6P@VXwI7GqmhJOofZarqPNEWZ8itzYqAiHA3ixHbVAkqXjq/dCrELXKx@awFiwv@pLtGzMAEQD2zzLrwxVqFTMmcTZNgES2MuiYLWNvcuHbbVk5JGV27SbcRq20yjQwjLnUqHaW5a92mR0kO20R6/bwsq1ZXSN4cjDVtHNDZG47p/e3n0ltATEKA8gVbkM7f7e7ibZBO/98WQomc2mFLoKWQoH7IfTBh3X9Bw "JavaScript (V8) – Try It Online"). It won't work in the online one, copy it from there and paste it in the developer console if you are on chrome (as it uses the `alert` function). Please excuse my absolutely awful ascii art.