From 81cfdb50209bad12d01dcd1a9a4dd587d511dca1 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 21 Oct 2015 11:17:25 -0400 Subject: [PATCH] Add a function for processing keyed syntax elements. --- prototype/UI/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prototype/UI/index.html b/prototype/UI/index.html index 700678657..549aec439 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -54,6 +54,12 @@ syntax(array[index]); } } + + function keyed(object) { + for (key in object) { + syntax(object[key]); + } + }