Excellent measure only if the world worked by laws passed. Clearly the job market in Mass is very competitive and current salary is something that is helping employers make a better decision. Outlawing it only means top employers will have to rely on proxies where as low-end employers will violate the law nevertheless.
On the ground it only makes things worse for both employees and employers.