diff --git a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts
index 78417b61d8..03f21c0fd9 100644
--- a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts
+++ b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts
@@ -321,9 +321,10 @@ function get_binding_group(renderer: Renderer, binding: BindingWrapper, block: B
parent = parent.parent;
}
- // when using bind:group with logic blocks, the with bind:group
- // maybe scatter across different blocks
- // will need to keep track all the elements that has the same bind:group within the same block
+ /**
+ * When using bind:group with logic blocks, the inputs with bind:group may be scattered across different blocks.
+ * This therefore keeps track of all the elements that have the same bind:group within the same block.
+ */
const elements = new Map();
contexts.forEach(context => {