Hi,
I have added some exposed methods to my application to access them from the html page, but IE and Edge throw an error. They say:
Assignment to read-only properties is not allowed in strict mode
In the first lines of the generated JS I have seen these code
(function (console, $hx_exports, $global) { "use strict";
$hx_exports.external = $hx_exports.external || {};
$hx_exports.openfl = $hx_exports.openfl || {};
$hx_exports.lime = $hx_exports.lime || {};
var $hxClasses = {},$estr = function() { return js_Boot.__string_rec(this,''); };
Microsoft site reports this explanation
“Strict mode is a way to introduce better error-checking into your code.When you use strict mode, you cannot, for example, use implicitly declared variables, or assign a value to a read-only property, or add a property to an object that is not extensible.”
Do you think this is related to the error I receive?
Thanks