Comment

Comment by fourspace

I certainly can't get it to work. For the first problem, I tried:

  function one_bit(x) {
    return x & (x-1) == 0
  }
Only to see this error:

  Expected "}" or comment but "&" found.
WAT
parent fourspace 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton