From 4cc1ce73a29e9f1f568491978da4c0a70f79ccde Mon Sep 17 00:00:00 2001 From: Alex Nozdriukhin Date: Mon, 18 Dec 2017 18:05:16 +0900 Subject: [PATCH] Remove unnecessary 'const' assignment --- src/parse/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parse/index.ts b/src/parse/index.ts index ff2714cb03..995a38f675 100644 --- a/src/parse/index.ts +++ b/src/parse/index.ts @@ -159,7 +159,6 @@ export class Parser { const match = pattern.exec(this.template.slice(start)); if (match) { - const start = this.index; this.index = start + match.index; return this.template.slice(start, this.index); }