We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 629e4c9 commit 4af0b50Copy full SHA for 4af0b50
app.ts
@@ -94,3 +94,8 @@ buttonElement.addEventListener('click', () => {
94
printResult(result, OutputMode.CONSOLE);
95
printResult(result, OutputMode.ALERT);
96
});
97
+
98
+function logAndEcho<T>(val: T) {
99
+ console.log(val);
100
+ return val;
101
+}
0 commit comments