why <script>alert(/XSS/)</script> pop up /XSS/

<script>alert(/XSS/)</script>

As stated in the title. Confused for a long time.I am learning javascript

1 answer