mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-14 17:07:34 +00:00
GitBook: [master] one page and 2 assets modified
This commit is contained in:
parent
98e17f8d22
commit
6d5dc7f0f1
3 changed files with 10 additions and 0 deletions
BIN
.gitbook/assets/image (555).png
Normal file
BIN
.gitbook/assets/image (555).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
.gitbook/assets/image (556).png
Normal file
BIN
.gitbook/assets/image (556).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
|
@ -1032,6 +1032,16 @@ Find some [**tools for XSS here**](xss-tools.md)**.**
|
|||
|
||||
## Other JS tricks
|
||||
|
||||
### "--" Assignment
|
||||
|
||||
The decrement operator `--` is also an asignment. This operator takes a value and then decrements it by one. If that value is not a number, it will be set to `NaN`. This can be used to **remove the content of variables from the environment**.
|
||||
|
||||
![](../../.gitbook/assets/image%20%28556%29.png)
|
||||
|
||||
![](../../.gitbook/assets/image%20%28555%29.png)
|
||||
|
||||
|
||||
|
||||
### Arrow functions
|
||||
|
||||
Arrow functions allow you to generate functions in a sigle line more easily \(if you understand them\)
|
||||
|
|
Loading…
Reference in a new issue