summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/test/string/format-method.js
blob: bb5561ee45bb59ad3314e352229dd5fc35da1e5c (plain)
1
2
3
4
5
6
7
'use strict';

module.exports = function (t, a) {
	t = t({ a: 'A', aa: 'B', ab: 'C', b: 'D',
		c: function () { return ++this.a; } });
	a(t.call({ a: 0 }, ' %a%aab%abb%b\\%aa%ab%c%c '), ' ABbCbD%aaC12 ');
};