mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
fixed README typo
This commit is contained in:
@@ -124,7 +124,7 @@ For available options see [options](#options).
|
||||
Usage:
|
||||
```sh
|
||||
javascript-obfuscator in.js [options]
|
||||
javascript-obfuscator in.js -output out.js [options]
|
||||
javascript-obfuscator in.js --output out.js [options]
|
||||
```
|
||||
|
||||
If the destination path is not specified through `--output` option, obfuscated code will saved into input file directory with name like `INPUT_FILE_NAME-obfuscated.js`
|
||||
|
||||
@@ -45,6 +45,7 @@ export abstract class ArrayStorage <T> implements IStorage <T> {
|
||||
*/
|
||||
public getKeyOf (value: T): number | null {
|
||||
const key: number = this.storage.indexOf(value);
|
||||
|
||||
return key >= 0 ? key : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user