summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/balanced-match/example.js
blob: 9ce76f480a4321be2282ed971b19c80681944e27 (plain)
1
2
3
4
var balanced = require('./');

console.log(balanced('{', '}', 'pre{in{nested}}post'));
console.log(balanced('{', '}', 'pre{first}between{second}post'));