Skip to main content
12 votes

Point-free JavaScript: write a function runner

Why I believe this is impossible (as stated) There aren't very many JS builtins that call a function, and even fewer that call one with arbitrary arguments. The ones that I've found are the string ...
emanresu A's user avatar
  • 38.8k
11 votes
Accepted

Self-referencing tuple in python

Python 3, 48 bytes from marshal import* t=loads(b'\xa9\1r\0\0\0\0') Try it online! Not portable, depends on the interpreter. There's probably a similar (portable) ...
Command Master's user avatar
10 votes

Point-free JavaScript: write a function runner

JavaScript (Node.js), 74 65 bytes [].forEach.bind([{[Symbol.split]:(c=Map.call).bind(c)}],''.split) Attempt This Online!
TwiNight's user avatar
  • 4,800
4 votes

Point-free JavaScript: write a function runner

It looks like a loophole in the function definition restriction, but you can still define a setter: ({set s(f){f()}}).__lookupSetter__('s') ...
Bergi's user avatar
  • 1,047

Only top scored, non community-wiki answers of a minimum length are eligible