Skip to content

Commit

Permalink
remove unnecessary instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Apr 7, 2024
1 parent a6f1223 commit c9da873
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ const html = (literals, ...expressions) => {
++index;
}

accumulator += literals.raw[index];

return accumulator;
return (accumulator += literals.raw[index]);
};

/**
Expand Down

0 comments on commit c9da873

Please sign in to comment.