Skip to content

Instantly share code, notes, and snippets.

@grant grant/greeter.js
Created Aug 3, 2019

What would you like to do?
Run Node 12 greeter
class Greeter {
#name = 'Functions Framework';
get name() {
return this.#name;
set name(name) {
this.#name = name;
sayHello() {
return `Hello, ${this.#name}`;
module.exports = Greeter;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.