birthdayboy224 Agreed. Some people might look at this:

And they'd be like: "WOW THAT'S FANTASTIC." While others would look at it and be like "It's not very well done, slightly sloppy and kinda lame compared to a trained artist."

    SquirrelGuy-5 Classes don't work in code.org but a lot of their functionality can be reconstructed by making a function which returns an object:

    class Rect {
        constructor(w,h) {
            this.w = w;
            this.h = h;
        }
        area() {
            return this.w * this.h;
        }
    }

    is basically the same as

    function Rect(w,h) {
        var obj = {};
        obj.w = w;
        obj.h = h;
        obj.area = function() { 
            return this.w * this.h;
        }
    }

      Lil-Starcast without using money

      Look there are plenty of free hosting sites, I challenged him to make a simple webapp to prove himself using github and render. I'll wait until he responds to that before criticizing him more. Also, anybody can make an AI image generator using an API.

        DragonFireGames
        could it just be
        function rect(w,h){
        this.w = w;
        this.h = h;
        }
        rect.prototype.area = function(){
        return this.w * this.height;
        }

        and
        var something = new rect(50,50); ?

        what i'm saying is i don't really understand why you needed var obj = {};

          ackvonhuelio That works as well, I just prefer using obj. Also, it makes it easier to use getters and setters.

          Object.defineProperty(obj,"prop",{
              get: function(){return "value";},
              set: function(e){console.log(e);},
          });
          L
          Last Chat :(
          See ya round, people.
          Aug 16, 2024
          T
          t43rew t34t3t45ret 45 e trsdyrt
          wt rtret
          Aug 14, 2024
          general
          Goodbye Gamelab Forum.
          Aug 12, 2024
          Not CDO chat
          yes
          Jul 25, 2024

          Chat

          Welcome to the Chat!

          Please select a channel or DM on the left.
          ;