I am new to javascript and coding in general but have been learning over the past few months thanks to Dan Ebberts, David Torno and Processing.
My creative director asked me to write a script that runs through a comp and precomps any layers that have the same name. Probably such a script already exists but it was a really good exercise to write my first AE script from start to finish. I'm just posting it here in case anybody has any insights that might help my code in the future, maybe there are better way to do things, etc. Thank you all!!