Martin Kleppe
banner
aemkei.bsky.social
Martin Kleppe
@aemkei.bsky.social
JavaScript Code Golfer
AEM1k.com, Tixy.land, JSFuck.com
Ubilabs Founder, Google Maps Expert
Reposted by Martin Kleppe
Pro tip for if you have XSS but you can only use upper case:

aem1k.com/transliterat...

transliterate.js by @aemkei.bsky.social works great!
transliterate.js
Translate any JavaScript code to foreign writing systems. Created by Martin Kleppe aka @aemkei.
aem1k.com
December 4, 2024 at 10:06 AM
Write any JavaScript with 6 Characters: []()!+

jsfuck.com

JSFuck is an esoteric and educational programming style based on the atomic parts of JavaScript. It uses only six different characters to write and execute code.
November 30, 2024 at 7:29 PM
The most minimalist creative coding environment is alive:

tixy.land

Control the size and color of a 16x16 dot matrix with a single JavaScript function. The input is limited to 32 characters – but no limits to your creativity!

🔴🔴
🔴🔴
(t,i,x,y) => 'creative code golfing'
A minimalist coding environment. Control 16x16 points with a single JavaScript function. By @aemkei
tixy.land
November 30, 2024 at 7:28 PM
Reposted by Martin Kleppe
Good lord. It's a quine clock aem1k.com/qlock/

Created by Martin Kleppe, of JSFuck esoteric.codes/blog/intervi...
Qlock - A JavaScript Quine Clock
Displays the current time in a seven-segment style, embedded within its own JavaScript source code. (321 bytes)
aem1k.com
June 3, 2024 at 5:54 PM
Reposted by Martin Kleppe
Making it valid JavaScript code:

[ロ,ⵙ] = "ロⵙ";
ᅠロᅠ = x => x == ロ;

[ロ,ロ,ロ,ロ].map((ロ) => ⵙ); // [ⵙ,ⵙ,ⵙ,ⵙ]
[ⵙ,ⵙ,ロ,ⵙ].filter(ᅠロᅠ); // [ロ]
[ⵙ,ⵙ,ロ,ロ].find(ᅠロᅠ); // ロ
[ⵙ,ⵙ,ⵙ,ロ].findIndex(ᅠロᅠ); // 3
[ロ,ロ,ロ,ⵙ].every(ᅠロᅠ); // false
and so forth...

(an idea I stole from @aemkei.bsky.social, a few years ago)
Saw this great visual guide on array methods on the LinkedIn JavaScript page and thought to share it here as well.
#100Devs #JavaScript
November 25, 2024 at 4:38 PM