getJSCandidates() function
Home > streplts > getJSCandidates
getJSCandidates() function
Section titled “getJSCandidates() function”Inspects isolated VM object models to compute predictive JavaScript property keys.
Signature:
export declare function getJSCandidates(input: string, sandboxRoot: any): { candidates: string[]; replaceLen: number;};Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
input |
string |
The active script code phrase segment. |
|
sandboxRoot |
any |
Activated proxy model monitoring local variables. |
Returns:
{ candidates: string[]; replaceLen: number; }
Matching candidates properties alongside targeted modification span lengths. *