Commit ca90ab1
authored
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 b4d8774 commit ca90ab1
1 file changed
+12
-18
lines changed| 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