Skip to content

[js] trace error #6492

@R32

Description

@R32
class Main {
    static function main() {
        trace("a".charAt(0) == "a");
    }
}

the result is false. actually the output is same as ( "Main.hx:5: " + "a".charAt(0) ) == "a"

// Generated by Haxe 4.0.0 (git build development @ 52f680c)
(function () { "use strict";
var Main = function() { };
Main.main = function() {
	console.log("Main.hx:5: " + "a".charAt(0) == "a");  
};
Main.main();
})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions