Add no-var rule.

This commit is contained in:
Sidharth Vinod
2022-09-05 22:31:57 +05:30
parent d898b8a7e7
commit b79ea6c0fe
60 changed files with 172 additions and 169 deletions

View File

@@ -558,7 +558,7 @@ click Shape2 call callbackFunction() "This is a tooltip for a callback"
```html
<script>
var callbackFunction = function () {
let callbackFunction = function () {
alert('A callback was triggered');
};
</script>
@@ -622,10 +622,10 @@ Beginner's tip—a full example using interactive links in an HTML page:
</pre>
<script>
var callback = function () {
let callback = function () {
alert('A callback was triggered');
};
var config = {
let config = {
startOnLoad: true,
securityLevel: 'loose',
};