Skip to content

    Rustic Codebox Theme

    Theme
    Dark Mode
    class Author {
    constructor(firstName, lastName, yearBorn) {
    this.firstName = firstName;
    this.lastName = lastName;
    this.yearBorn = yearBorn;
    }

    getFullName() {
    return this.firstName + ' ' + this.lastName;
    }
    }

    // Create a new Author
    const author = new Author('Douglas', 'Adams', 1952);
    author.firstName = 'Doug';

    // Prints "Doug Adams"
    const fullName = author.getFullName();
    console.log(fullName);
    Editable example
    Installed 2 timesLast updated Jun 14, 2023
    You're looking at the Rustic Codebox Theme. Ain't pretty, but it works. Background's black, like the last breath of a moonless night. Variables and definitions are pale ghosts riding the desert at night. Function references here burn like cheap whiskey. Definitions got the color of blood, hot against the sand. Keywords and booleans, cold as an old steel blade waking up with the dawn. Strings, can't miss -'em. Like rattlesnake tracks in the dust. Numbers deep red as the setting sun. Regular expressions, they're the color of a weathered saddle, hard-worn but familiar. Operators are bleached bone white. Stands against the dark, but won't blind you. It's the Rustic Codebox Theme. Ain't for everyone, but it might be for you. And maybe it's rough, but it's honest. And it'll keep you on the straight and narrow while you're out there coding. Good luck.