diff options
| author | Max <martynmaksim.w@gmail.com> | 2020-05-15 17:27:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 10:27:38 -0400 |
| commit | d4afc9890dfa60a233167e2ea003d9e7c830ee61 (patch) | |
| tree | a1081489f2d62cc6b863d6b0999845f807ce9505 | |
| parent | c5a54e44bc0a697b45efb98d3f5d1dc751efe49f (diff) | |
adjust example code (#5332)
| -rw-r--r-- | docs/runtime/program_lifecycle.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/runtime/program_lifecycle.md b/docs/runtime/program_lifecycle.md index c7c3c46a3..62698b35e 100644 --- a/docs/runtime/program_lifecycle.md +++ b/docs/runtime/program_lifecycle.md @@ -28,6 +28,8 @@ window.onunload = (e: Event): void => { console.log(`got ${e.type} event in onunload function (main)`); }; +console.log("log from main script"); + // imported.ts const handler = (e: Event): void => { console.log(`got ${e.type} event in event handler (imported)`); |
