UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

9 lines (7 loc) 288 B
var fails = require('./fails'); module.exports = fails(function () { // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError var re = RegExp('(?<a>b)', (typeof '').charAt(5)); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$<a>c') !== 'bc'; });