This example shows three equivalent mapping files in different languages:
- JSX (can use
.js
or.jsx
extension) - JSX-style CoffeeScript (can use
.coffee
or.cjsx
extension) - CoffeeScript (standard approach of working with strings)
ASCII art (based on these pentomino packings):
ACCDDDDKKK
ACCEDJJJJK
ACEEEHIIJK
ABFEHHHILL
ABFFGGHIIL
BBBFFGGGLL