Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
  
<script>
class Car {
  constructor(name) {
    this.brand = name;
  }
}
const mycar = new Car("Ford");
document.write(mycar.brand);
</script>
</body>
</html>