// Copyright 2017-2021 @axia-js/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export class Testing123 { #something = 123_456_789; readonly and: number; static staticProperty = 'babelIsCool'; static staticFunction = (): string|null => Testing123.staticProperty; constructor (and: number) { this.and = and; this.#something = this.#something & and; } get something (): number { return this.#something; } async doAsync (): Promise { const res = await new Promise((resolve) => resolve(true)); console.log(res); return res; } setSomething = (something: number): number => { this.#something = something; return this.#something; } toString (): string { return `something=${this.#something}`; } }