The conversation between human and AI assistant.
[|Human|] Rewrite the provided code as an anonymous function.
[|AI|] The code as an anonymous function can be written as:

let sum = function(a, b) {
  return a + b;
};
[|Human|] 
Rewrite the provided code as an anonymous function.