diff options
-rw-r--r-- | files/ko/web/javascript/reference/global_objects/aggregateerror/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/aggregateerror/index.html b/files/ko/web/javascript/reference/global_objects/aggregateerror/index.html index 947fb99d4b..489e821689 100644 --- a/files/ko/web/javascript/reference/global_objects/aggregateerror/index.html +++ b/files/ko/web/javascript/reference/global_objects/aggregateerror/index.html @@ -33,7 +33,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/AggregateError <h3 id="AggregateError_다루기">AggregateError 다루기</h3> -<pre class="brush: js; ">Promise.any([ +<pre class="brush: js">Promise.any([ Promise.reject(new Error("some error")), ]).catch(e => { console.log(e instanceof AggregateError); // true @@ -45,7 +45,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/AggregateError <h3 id="AggregateError_발생시키기">AggregateError 발생시키기</h3> -<pre class="brush: js;">try { +<pre class="brush: js">try { throw new AggregateError([ new Error("some error"), ], 'Hello'); |