UNPKG

@awayfl/avm2

Version:

Virtual machine for executing AS3 code

11 lines 573 B
import { AXSecurityDomain } from './AXSecurityDomain'; /** * ActionScript 3 has different behaviour when deciding whether to call toString or valueOf * when one operand is a string. Unlike JavaScript, it calls toString if one operand is a * string and valueOf otherwise. This sucks, but we have to emulate this behaviour because * YouTube depends on it. * * AS3 also overloads the `+` operator to concatenate XMLs/XMLLists instead of stringifying them. */ export declare function axAdd(l: any, r: any, sec: AXSecurityDomain): any; //# sourceMappingURL=axAdd.d.ts.map