It's illegal in California for a prospective employer to ask about your previous salary.
Hence the existence of services like The Work Number.
*at your current job
Hence the existence of services like The Work Number.