Commit 548e1d7
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 58d1f2e commit 548e1d7
1 file changed
+12
-18
lines changed| 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