message: rendering: Simplify `getUnusedBlockParam()` function
diff: @@ -113,19 +113,12 @@ class BindTransform {
  }
  function getUnusedBlockParam(foundNames) {
  - let foundName = false;
  - let i = 0;
  - let paramName;
  -
  - do {
  - i++;
  - paramName = 'param' + i;
  - if (foundNames.indexOf(paramName) === -1) {
  - foundName = true;
  - }
  - } while (!foundName);
  -
  + for (let i = 1;; i++) {
  + let paramName = 'param' + i;
  + if (!foundNames.includes(paramName)) {
  return paramName;
  }
  + }
  +}
  module.exports = BindTransform;
  