@@ -368,16 +368,14 @@ me().on("click", async event => {
368
368
*` f` ,` fn` = function
369
369
370
370
#### Scope functions and variables inside` < script> `
371
- * ⭐ Use a block
372
- *` {let scoped= 1 ;function hey (text ) {alert (text) };me ().on (' click' ,ev => {hey (" hi" ) }) }`
373
- *` let ` is scoped in` { }` blocks!
371
+ * ⭐ Use a block` {let note= " hi" ;function hey (text ) {alert (text) };me ().on (' click' ,ev => {hey (note) }) }`
372
+ *` let ` and` function ` is scoped within `{ }`
374
373
* ⭐ Use `me ()`
375
374
* `me().hey = (text) => {alert (text) }`
376
375
*` me ().on (' click' , (ev )=> {me (ev).hey (" hi" ) })`
377
- * ⭐ Use an event
378
- *` me ().on (' click' ,ev => {/* add and call function here*/ })`
376
+ * ⭐ Use an event` me ().on (' click' ,ev => {/* add and call function here*/ })`
379
377
* Use an inline module:` < script type= " module" > `
380
- *Warning: When using a module ` me ()` can no longer see` parentElement` , this means explicit selectors are required:` me (" .mybutton" )`
378
+ *Note: ` me ()` in modules will not see` parentElement` , explicit selectors are required:` me (" .mybutton" )`
381
379
382
380
#### Select a void element like` < input type= " text" / > `
383
381
* Use:` me (' -' )` or` me (' prev' )` or` me (' previous' )`