为什么我这代码点击不能隐藏h1文本呢
<!DOCTYPE html>
<html>
<body>
<h1 id="EleId">请点击此文本!</h1>
<input type="button" value="点击隐藏" οnclick="testDisplay()">
<script type="text/javascript">
function testDisplay()(
document.getElementById("EleId").style.display="none";
<!-- document.getElementById("EleId").style.display="inline"; -->
)
</script>
</body>
</html>