Writing Unit Tests with Jest

What is the difference between toBe() and toEqual() matchers in this test?
test('adds 1 + 2 to equal 3', () => {
  expect(sum(1, 2)).toBe(3);
  expect(sum(1, 2)).toEqual(3);
});
Next Question (2/20)