how to use a javascript snippet as a static resource

As per the title. How?

Found it. 35:00 mark for about 5 minutes in this video. Just learned to register snippet.



There is a lot of good stuff in that video…