TGViewer
JavaScript JavaScript @javascript · 31K subscribers
Post #3551 440
CHALLENGE

const output = [];
output.push(typeof foo);
try {
output.push(typeof bar);
} catch (e) {
output.push(e.message);
}
var foo = () => 'foo';
let bar = () => 'bar';
console.log(output.join(' | '));
More from @javascript
  1. Oct 11, 2026Post #3552
  2. Oct 10, 2026Post #3550
  3. Oct 10, 2026CHALLENGE async function main() { const settled = await Promise.allSettled([ Promise.resol…
  4. Oct 9, 2026Post #3548
  5. Oct 9, 2026CHALLENGE const a = -7 % 3; const b = 7 % -3; const c = 2 ** 3 ** 2; const d = (2 ** 3) **…
  6. Oct 8, 2026Post #3546
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →