GoScrobble/web/node_modules/es5-ext/test/reg-exp/#/match/shim.js

7 lines
132 B
JavaScript

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