How to use 'alert hi' in JavaScript

Every line of 'alert hi' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
1function hi() {
2 console.log("------- hi : " + new Date());

Related snippets