Question from the Javascript test

Write a function that returns a string 'Haha!'

Hard

What does this javascript code do ?

function laugh(){
  return
  {
    ha: 'Haha!'
  }
}
laugh();
Author: Jean-marie CléryStatus: PublishedQuestion passed 2155 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!