Remove comments and unnecessary whitespace from JavaScript code.
function test(){console.log('hello');}