You cannot assign a default value in JavaScript this way, and it throws an error.