my-idlers/node_modules/es5-ext/test/reg-exp/#/match/shim.js

7 lines
132 B
JavaScript
Raw Normal View History

"use strict";
module.exports = function (t, a) {
var result = "foobar".match(/foo/);
a.deep(t.call(/foo/, "foobar"), result);
};