Send the following on WhatsApp
Continue to ChatJavaScript static variable in function | Example code https://tutorial.eyehunts.com/js/javascript-static-variable-in-function-example-code/
JavaScript static variable in function | Example code https://tutorial.eyehunts.com/js/javascript-static-variable-in-function-example-code/