Commit 9502c22
doc: simplify addAbortListener example
The example was written before v8 supported the using keyword
and hence explicitly called Symbol.dispose
Since now the keyword is supported, the example can be simplified
PR-URL: #61842
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 6fec397 commit 9502c22Copy full SHA for 9502c22
1 file changed
+12-18Lines changed: 12 additions & 18 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+12-18Lines changed: 12 additions & 18 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1906 | 1906 | |
1907 | 1907 | |
1908 | 1908 | |
1909 | | - |
1910 | | - |
1911 | | - |
1912 | | - |
1913 | | - |
1914 | | - |
1915 | | - |
1916 | | - |
1917 | | - |
| 1909 | + |
| 1910 | + |
| 1911 | + |
| 1912 | + |
| 1913 | + |
| 1914 | + |
1918 | 1915 | |
1919 | 1916 | |
1920 | 1917 | |
1921 | 1918 | |
1922 | 1919 | |
1923 | 1920 | |
1924 | 1921 | |
1925 | | - |
1926 | | - |
1927 | | - |
1928 | | - |
1929 | | - |
1930 | | - |
1931 | | - |
1932 | | - |
1933 | | - |
| 1922 | + |
| 1923 | + |
| 1924 | + |
| 1925 | + |
| 1926 | + |
| 1927 | + |
1934 | 1928 | |
1935 | 1929 | |
1936 | 1930 | |
|
0 commit comments