请问一下,为什么把Javascript写成这种形式,最近看了些源码,很多都是这样的,是经过压缩加密变形了吗?
如果是一开始写的时候就如此,那可读性岂不是很差?
KISSY.add("dd-reg-v2", function (d)
{
    function j(b, a)
    {
        this.name = b;
        this.nodeEl = a;
        this.isValid = false;
        this.init()
    }
    function n(b, a, c)
    {
        if (b)
        {
            if (b.length < 6) {
                a(false, "\u5bc6\u7801\u957f\u5ea6\u81f3\u5c11\u97006\u4f4d");
            }
            else
            {
                b.length > 20 ? a(false, "\u5bc6\u7801\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc720\u4f4d") : a(true);
            }
            else {
                "submit" === c && a(false, "\u8bf7\u586b\u5199\u5bc6\u7801");
            }
        }
    }
    function o(b, a, c)
    {
        var e = f.get("#password").value;
        if (b)
        {
            e != b ? a(false, "\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4") : a(true);
        }
        else "submit" == c && a(false, "\u518d\u6b21\u8f93\u5165\u5bc6\u7801\u4ee5\u786e\u8ba4")
    }