// Here we have defined a mixin to get the name and author of a book
mixin book(name,author)
  h3=name +' is written by '+ author +'.'

// Then we can just use the mixin and get the desired output
+book("A song of ice and fire", "George R. R. Martin")
+book("Harry Potter and the Philosopher's Stone", "J. K. Rowling")
View Compiled
Rerun