Create samples

different code snippets for different concepts of JS