Spot the bug - #121: Temperature Checker

Why does my temperature checker always say freezing?

function checkWeather(temp) {
  if (temp = 0) {
    return 'freezing';
  }
  return 'warm';
}

Reply with what is broken and how you would fix it.