项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

12345678910
  1. "use strict";
  2. var replace = String.prototype.replace, re = /-([a-z0-9])/g;
  3. var toUpperCase = function (ignored, a) {
  4. return a.toUpperCase();
  5. };
  6. module.exports = function () {
  7. return replace.call(this, re, toUpperCase);
  8. };