Skip to content

Instantly share code, notes, and snippets.

@mikaelbr
Created September 30, 2019 18:08
Show Gist options
  • Save mikaelbr/76f5c4a306af1d620fe2558b962ef457 to your computer and use it in GitHub Desktop.
Save mikaelbr/76f5c4a306af1d620fe2558b962ef457 to your computer and use it in GitHub Desktop.
console.log(
h1({ class: ["myHeader", "blue"] }, "Hello, World!")
);
//> <h1 class="myHeader blue">Hello, World!</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment