<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Check your console</p>
<script>
console.log(Math.round(null)); // 0
console.log(Math.round(-6.6)); // -7
console.log(Math.round(-6.5)); // -6
console.log(Math.round(-6.4)); // -6
console.log(Math.round(6)); // 6
console.log(Math.round(6.4)); // 6
console.log(Math.round(6.5)); // 7
console.log(Math.round(6.6)); // 7
</script> </body>
</html>