Docs
/
VM Obfuscation
/

Strict Mode

Strict Mode Compatibility

Important

VM obfuscation needs to know at compile time whether code runs in strict mode. If your code relies on strict mode behavior, you must explicitly declare it.

Add "use strict"; at the top of your file to enable strict mode for all code:

"use strict";

function validateLicense(key) {
    // This function runs in strict mode
    return key.length === 32;
}

function processPayment(amount) {
    // This also runs in strict mode
    return amount * 1.1;
}