« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/examples/list-scroll-form.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/list-scroll-form.js')
-rw-r--r--examples/list-scroll-form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/list-scroll-form.js b/examples/list-scroll-form.js
index cb7fa27..c015ddb 100644
--- a/examples/list-scroll-form.js
+++ b/examples/list-scroll-form.js
@@ -19,7 +19,7 @@ interfacer.getScreenSize().then(size => {
   list.w = root.contentW - 4
   list.h = root.contentH - 4
 
-  for (let item of ['Foo', 'Bar', 'Baz']) {
+  for (const item of ['Foo', 'Bar', 'Baz']) {
     const button = new Button(item)
     list.addInput(button)