The parser states can now be expressed with the binary litteral operator: https://github.com/nfroidure/svg-pathdata/blob/master/src/SVGPathDataParser.ts#L530-L541 http://2ality.com/2015/04/numbers-math-es6.html