Created
October 16, 2021 08:59
-
-
Save WesleySmits/1b22edad1b878d54019e86b459ff3c74 to your computer and use it in GitHub Desktop.
Simple web calculator: Call update display from query setter method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public set query(value: string) { | |
this.#query = value; | |
+ this.#updateDisplay(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment