Difference between constructor function and class in javascript?

What is the difference between constructor function and class in javascript?