can we write same variable names in different scripts in javascript?
Like below
<script type="text/javascript">
$(document).ready(function () {
var userCookie = getCookie('loggedInUser');
});
</script>
<script type="text/javascript">
$(document).ready(function () {
var userCookie = getCookie('loggedInUser');
});
</script>