大佬们看看,我的if else语句怎么运行不出来
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>prompt</title>
<script type="text/javascript">
var lin = prompt("您有多少存款","500");
if(lin=500)
{alert(wa);}
else{
alert(ye);
}
</script>
</head>
<body>
<input name="button" type="button" onClick="rec()" value="点击我,对成绩做评价!" />
</body>
</html>