Інструкції та оголошення — javascript | ВебДоки

async function statement Chrome Full support 55 Edge Full support 15 Firefox Full support 52 Internet Explorer No support Ні Opera Full support 42 Safari Full support 10.1 WebView Android Full support 55 Chrome Android Full support 55 Firefox for Android Full support 52 Opera Android Full support 42 Safari on iOS Full support 10.3 Samsung Internet Full support 6.0 Deno Full support 1.0 Node.js Full support 7.6.0 async function* statement Chrome Full support 63 Edge Full support 79 Firefox Full support 55 Internet Explorer No support Ні Opera Full support 50 Safari Full support 12 WebView Android Full support 63 Chrome Android Full support 63 Firefox for Android Full support 55 Opera Android Full support 46 Safari on iOS Full support 12 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 10.0.0 block Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 11 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 break Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 class Chrome Full support 49 Edge Full support 13 Firefox Full support 45 Internet Explorer No support Ні Opera Full support 36 Safari Full support 10.1 WebView Android Full support 49 Chrome Android Full support 49 Firefox for Android Full support 45 Opera Android Full support 36 Safari on iOS Full support 10.3 Samsung Internet Full support 5.0 Deno Full support 1.0 Node.js Full support 6.0.0 const Chrome Full support 21 Edge Full support 12 Firefox Full support 36

footnote

Internet Explorer Full support 11 Opera Full support 9 Safari Full support 5.1 WebView Android Full support 37 Chrome Android Full support 25 Firefox for Android Full support 36

footnote

Opera Android Full support 10.1 Safari on iOS Full support 6 Samsung Internet Full support 1.5 Deno Full support 1.0 Node.js Full support 6.0.0 continue Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 debugger Chrome Full support 5 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 4 Opera Full support 10 Safari Full support 5 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 4.2 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 do...while Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 4 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 Empty statement (;) Chrome Full support 3 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 5 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 4.2 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 export Chrome Full support 61 Edge Full support 16 Firefox Full support 60 Internet Explorer No support Ні Opera Full support 48 Safari Full support 10.1 WebView Android Full support 61 Chrome Android Full support 61 Firefox for Android Full support 60 Opera Android Full support 45 Safari on iOS Full support 10.3 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 13.2.0

footnote

default keyword with export

Chrome Full support 61 Edge Full support 16 Firefox Full support 60 Internet Explorer No support Ні Opera Full support 48 Safari Full support 10.1 WebView Android No support Ні Chrome Android Full support 61 Firefox for Android Full support 60 Opera Android Full support 45 Safari on iOS Full support 10.3 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 13.2.0

footnote

export * as namespace

Chrome Full support 72 Edge Full support 79 Firefox Full support 80 Internet Explorer No support Ні Opera Full support 60 Safari Full support 14.1 WebView Android No support Ні Chrome Android Full support 72 Firefox for Android Full support 80 Opera Android Full support 51 Safari on iOS Full support 14.5 Samsung Internet Full support 11.0 Deno Full support 1.0 Node.js Full support 12.0.0 for Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 for await...of Chrome Full support 63 Edge Full support 79 Firefox Full support 57 Internet Explorer No support Ні Opera Full support 50 Safari Full support 11 WebView Android Full support 63 Chrome Android Full support 63 Firefox for Android Full support 57 Opera Android Full support 46 Safari on iOS Full support 11 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 10.0.0 for...in Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 2 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 for...of Chrome Full support 38 Edge Full support 12 Firefox Full support 13

footnote

Internet Explorer No support Ні Opera Full support 25 Safari Full support 7 WebView Android Full support 38 Chrome Android Full support 38 Firefox for Android Full support 14

footnote

Opera Android Full support 25 Safari on iOS Full support 7 Samsung Internet Full support 3.0 Deno Full support 1.0 Node.js Full support 0.12.0

async iterators

Chrome Full support 63 Edge Full support 12 Firefox Full support 57 Internet Explorer No support Ні Opera Full support 50 Safari Full support 7 WebView Android Full support 63 Chrome Android Full support 63 Firefox for Android Full support 57 Opera Android Full support 46 Safari on iOS Full support 7 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 10.0.0

Closing iterators

Chrome Full support 51 Edge Full support 14 Firefox Full support 53 Internet Explorer No support Ні Opera Full support 38 Safari Full support 7 WebView Android Full support 51 Chrome Android Full support 51 Firefox for Android Full support 53 Opera Android Full support 41 Safari on iOS Full support 7 Samsung Internet Full support 5.0 Deno Full support 1.0 Node.js Full support 6.5.0 function statement Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0

Trailing comma in parameters

Chrome Full support 58 Edge Full support 14 Firefox Full support 52 Internet Explorer No support Ні Opera Full support 45 Safari Full support 10 WebView Android Full support 58 Chrome Android Full support 58 Firefox for Android Full support 52 Opera Android Full support 43 Safari on iOS Full support 10 Samsung Internet Full support 7.0 Deno Full support 1.0 Node.js Full support 8.0.0 function* statement Chrome Full support 39 Edge Full support 13 Firefox Full support 26 Internet Explorer No support Ні Opera Full support 26 Safari Full support 10 WebView Android Full support 39 Chrome Android Full support 39 Firefox for Android Full support 26 Opera Android Full support 26 Safari on iOS Full support 10 Samsung Internet Full support 4.0 Deno Full support 1.0 Node.js Full support 4.0.0

IteratorResult object instead of throwing

Chrome Full support 49 Edge Full support 13 Firefox Full support 29 Internet Explorer No support Ні Opera Full support 36 Safari Full support 10 WebView Android Full support 49 Chrome Android Full support 49 Firefox for Android Full support 29 Opera Android Full support 36 Safari on iOS Full support 10 Samsung Internet Full support 5.0 Deno Full support 1.0 Node.js Full support 6.0.0

Not constructable with new (ES2016)

Chrome Full support 50 Edge Full support 13 Firefox Full support 43 Internet Explorer No support Ні Opera Full support 37 Safari Full support 10 WebView Android Full support 50 Chrome Android Full support 50 Firefox for Android Full support 43 Opera Android Full support 37 Safari on iOS Full support 10 Samsung Internet Full support 5.0 Deno Full support 1.0 Node.js Full support 6.0.0

Trailing comma in parameters

Chrome Full support 58 Edge Full support 14 Firefox Full support 52 Internet Explorer No support Ні Opera Full support 45 Safari Full support 10 WebView Android Full support 58 Chrome Android Full support 58 Firefox for Android Full support 52 Opera Android Full support 43 Safari on iOS Full support 10 Samsung Internet Full support 7.0 Deno Full support 1.0 Node.js Full support 8.0.0 if...else Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 import Chrome Full support 61 Edge Full support 16 Firefox Full support 60 Internet Explorer No support Ні Opera Full support 48 Safari Full support 10.1 WebView Android Full support 61 Chrome Android Full support 61 Firefox for Android Full support 60 Opera Android Full support 45 Safari on iOS Full support 10.3 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 13.2.0

footnote

Dynamic import

Chrome Full support 63 Edge Full support 79 Firefox Full support 67 Internet Explorer No support Ні Opera Full support 50 Safari Full support 11.1 WebView Android Full support 63 Chrome Android Full support 63 Firefox for Android Full support 67 Opera Android Full support 46 Safari on iOS Full support 11.3 Samsung Internet Full support 8.0 Deno Full support 1.0 Node.js Full support 13.2.0

footnote

Available in workers

Chrome Full support 80 Edge Full support 80 Firefox No support Ні

footnote

Internet Explorer No support Ні Opera No support Ні Safari Full support 15 WebView Android Full support 80 Chrome Android Full support 80 Firefox for Android No support Ні

footnote

Opera Android No support Ні Safari on iOS Full support 15 Samsung Internet Full support 13.0 Deno Full support 1.0 Node.js No support Ні import.meta Chrome Full support 64 Edge Full support 79 Firefox Full support 62 Internet Explorer No support Ні Opera Full support 51 Safari Full support 11.1 WebView Android Full support 64 Chrome Android Full support 64 Firefox for Android Full support 62 Opera Android Full support 47 Safari on iOS Full support 12 Samsung Internet Full support 9.0 Deno Full support 1.0 Node.js Full support 10.4.0 label Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 4 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 let Chrome Full support 49 Edge Full support 14 Firefox Full support 44

footnote

Internet Explorer Partial support 11

footnote

Opera Full support 17 Safari Full support 10 WebView Android Full support 49 Chrome Android Full support 49 Firefox for Android Full support 44

footnote

Opera Android Full support 18 Safari on iOS Full support 10 Samsung Internet Full support 5.0 Deno Full support 1.0 Node.js Full support 6.0.0 return Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 switch Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 4 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 throw Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 5 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 try...catch Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 5 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0

Optional catch binding

Chrome Full support 66 Edge Full support 79 Firefox Full support 58 Internet Explorer No support Ні Opera Full support 53 Safari Full support 11.1 WebView Android Full support 66 Chrome Android Full support 66 Firefox for Android Full support 58 Opera Android Full support 47 Safari on iOS Full support 11.3 Samsung Internet Full support 9.0 Deno Full support 1.0 Node.js Full support 10.0.0 var Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 while Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 3 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0 with

Нерекомендоване

Chrome Full support 1 Edge Full support 12 Firefox Full support 1 Internet Explorer Full support 3 Opera Full support 4 Safari Full support 1 WebView Android Full support 1 Chrome Android Full support 18 Firefox for Android Full support 4 Opera Android Full support 10.1 Safari on iOS Full support 1 Samsung Internet Full support 1.0 Deno Full support 1.0 Node.js Full support 0.10.0