It looks very much like some techniques used when minifying JavaScript.