[docs] adjust function name (#6495)

pull/6498/head
decaylala 3 years ago committed by GitHub
parent f2fa7b2186
commit 8457a73cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,11 @@
<script> <script>
let count = 0; let count = 0;
function handleClick() { function incrementCount() {
// event handler code goes here // event handler code goes here
} }
</script> </script>
<button> <button>
Clicked {count} {count === 1 ? 'time' : 'times'} Clicked {count} {count === 1 ? 'time' : 'times'}
</button> </button>

Loading…
Cancel
Save