Coding

JavaScript can “Display Data” Using window.alert() – JavaScript Tutorial

Task

JavaScript can “Display Data” Using window.alert()

Description

Using window.alert() You can use an alert box to display data:

Example

<script>
window.alert(5 + 6);
</script>
Try It Yourself - Online Compliler >>