Normal
  A   ˆl–Ü4ý(ÔËmJiA3q§n*bÑ¿�þZK8Êãcq–ÚhÏÂƒÁ_ŠI|¥ŠGgYâ¯ÁÀ $    # @babel/plugin-codemod-optional-catch-binding

> If the argument bound to the catch block is not referenced in the catch block, that argument and the catch binding is removed.


## Examples

```js
try {
  throw 0;
} catch (err) {
  console.log("it failed, but this code executes");
}
```
Is transformed to:

```js
try {
  throw 0;
} catch {
  console.log("it failed, but this code executes");
}
```

## Installation

```sh
npm install --save-dev @babel/plugin-codemod-optional-catch-binding
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```jsonc
{
  "plugins": ["@babel/plugin-codemod-optional-catch-binding"]
}
```

### Via CLI

```sh
babel --plugins @babel/plugin-codemod-optional-catch-binding script.js
```

### Via Node API

```javascript
require("@babel/core").transform("code", {
  plugins: ["@babel/plugin-codemod-optional-catch-binding"]
});
```

## References
This codemod updates your source code in line with the following proposal:
- [Proposal: Optional Catch Binding for ECMAScript](https://github.com/babel/proposals/issues/7)
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ä598_‘I|¥‰ÓMdœv ©ƒ†ü+=ÄÃ V    ‹      Õ–ßoÚ0ÇßûWx~ØÚ­mðÔ‘JC¥€(Ó4MSebC¬&vdýëçà´M§¢Q©­èÓù’oîîãœ„¢awòstŽ¾M.ûhôýk¿×E¸ð£Õˆ&‘Ñ®7€óF8±6?X­VõU«®ô&cHl–¶ÁX-b[g–arÏÈ
N™³(´Â¦œô$ã�š!Pkãî»µÆ—"æ¦[žAÆ3¥×¥	šŸA*Æ¥Üxä¶Ú!øØ.”éÂ©bë¢Šà•2ºÀ(:Ý$.†š„6AKšŠ¹ì`«rLB‘Í‘Ñqƒˆ•40M©¼©ÏÅ#šÚþÕë;Ø¤øš„%šÏ:øK·38v"L4ã!Ð§5—Ns†IŸ‹2ÅÄLp¶U|åÅWâv{ÀÈk"nb-r+”|�‚C¬¢Æ*59u¬‡Ž ÑU•—°ÿÍ�MÆèl|>˜D½±ŸV„x¨îþ&#ª¹´(šÇÖ½*é|ª�rjòÓ;•µk1O,&ÕÐ“Êg ÏTÊ¸®"oƒ½«×Ûj•ÿ”Õl4�jAPŽQðé¤q„Ð+Ö¿�7R­dÀõÃ“ J¦BrL¼Ý ÙDÁÑÉa{+€Û….Þ OÖæÚw&ç½¢ˆb,I6ã}Ù}QäjÅµ[Þ¾Dýo¼(´ÛŽ–Å‘�Éýp_~Ã30Œ¥Ö!lÌ¾”¿{™Å´<4Âýøn±¾tg&Þ¾À÷Qˆ]ß*É&çõ{jÇ[”÷»6÷Éü­ö/Û(ß8    5   ˆl–Ým_JÅ0–56 ¸&n41hß�þ\‘åœY�ò6ÓáhÏÇƒ­‹ÆÅÄ Ø    " Vim syntax file
" Language:	Cheetah template engine
" Maintainer:	Max Ischenko <mfi@ukr.net>
" Last Change: 2003-05-11
"
" Missing features:
"  match invalid syntax, like bad variable ref. or unmatched closing tag
"  PSP-style tags: <% .. %> (obsoleted feature)
"  doc-strings and header comments (rarely used feature)

" quit when a syntax file was already loaded
if exists("b:current_syntax")
	finish
endif

syntax case match

syn keyword cheetahKeyword contained if else unless elif for in not
syn keyword cheetahKeyword contained while repeat break continue pass end
syn keyword cheetahKeyword contained set del attr def global include raw echo
syn keyword cheetahKeyword contained import from extends implements
syn keyword cheetahKeyword contained assert raise try catch finally
syn keyword cheetahKeyword contained errorCatcher breakpoint silent cache filter
syn match   cheetahKeyword contained "\<compiler-settings\>"

" Matches cached placeholders
syn match   cheetahPlaceHolder "$\(\*[0-9.]\+[wdhms]\?\*\|\*\)\?\h\w*\(\.\h\w*\)*" display
syn match   cheetahPlaceHolder "$\(\*[0-9.]\+[wdhms]\?\*\|\*\)\?{\h\w*\(\.\h\w*\)*}" display
syn match   cheetahDirective "^\s*#[^#].*$"  contains=cheetahPlaceHolder,cheetahKeyword,cheetahComment display

syn match   cheetahContinuation "\\$"
syn match   cheetahComment "##.*$" display
syn region  cheetahMultiLineComment start="#\*" end="\*#"

" Define the default highlighting.
" Only when an item doesn't have highlighting yet

hi def link cheetahPlaceHolder Identifier
hi def link cheetahDirective PreCondit
hi def link cheetahKeyword Define
hi def link cheetahContinuation Special
hi def link cheetahComment Comment
hi def link cheetahMultiLineComment Comment


let b:current_syntax = "cheetah"

  $   	ˆÁÀÆ525¿a–Ým_JJi?u8 [¸ÛWÚ˜´oÅ     	‹      Õ•QoÚ0Çßû)<?ìŽ ëu<uih¥š¦išœØ«‰�leŸ~	ƒVeë´Mëž|¾ü}w¿Kâ#/¢qoöqÒGïfWC4¹y;ô®|hõ ¢YT>h×@„N�[v6›M}Óªk³€ÙR—gm°ÎÈÄÕ¹ã˜ž‘ÂGÏIã~EÄI—	:P\Ü!=G WÎJ.ü¹­.Ö2¶°�È!¹6Ûj	ÚPš‹Fµï4Á®âRI ëA•‰Äšo‹‚?ŸÌÇÜ¡°x—³0%.Ek–É…
±ÓKL‰ÌÈš$Ä ­,ÄS·õ…œcÄ2âOƒÞø³×�K‹Ó”0”1ñ›^8º‡¦#–ìqÍ•×\b:dÖ¡\s9—‚Ÿ_—âkùõtÀ¨ÔDÂ&F.�Ôê �xŒšèÌ.™g}å	Rs¬*%ügÝ`É½fL.§ýÑ,LË–ð"Ä¡ºßzu˜N˜Ê¡H‘8ï¬¸Ê$/Ul—û-ªª6r‘:Lª¡G•¿€:×