Commit b50376f
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 dea0e7a commit b50376fCopy full SHA for b50376f
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 |
|---|---|---|
| ||
1908 | 1908 | |
1909 | 1909 | |
1910 | 1910 | |
1911 | | - |
1912 | | - |
1913 | | - |
1914 | | - |
1915 | | - |
1916 | | - |
1917 | | - |
1918 | | - |
1919 | | - |
| 1911 | + |
| 1912 | + |
| 1913 | + |
| 1914 | + |
| 1915 | + |
| 1916 | + |
1920 | 1917 | |
1921 | 1918 | |
1922 | 1919 | |
1923 | 1920 | |
1924 | 1921 | |
1925 | 1922 | |
1926 | 1923 | |
1927 | | - |
1928 | | - |
1929 | | - |
1930 | | - |
1931 | | - |
1932 | | - |
1933 | | - |
1934 | | - |
1935 | | - |
| 1924 | + |
| 1925 | + |
| 1926 | + |
| 1927 | + |
| 1928 | + |
| 1929 | + |
1936 | 1930 | |
1937 | 1931 | |
1938 | 1932 | |
|
0 commit comments