My First Playground

node v8.17.0
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
var micromatch = require("micromatch") var picomatch = require("picomatch") console.log("1", micromatch(['abc BUMP_MAJOR def'], ['**BUMP_MAJOR**'])); console.log("2", micromatch(['abc /BUMP_MAJOR def'], ['**BUMP_MAJOR**'])); console.log("3", micromatch(['abc / BUMP_MAJOR def'], ['**BUMP_MAJOR**'])); console.log("4", micromatch(['/abc BUMP_MAJOR def'], ['**BUMP_MAJOR**'])); console.log("5", micromatch(['abc BUMP_MAJOR def/'], ['**BUMP_MAJOR**'])); console.log("6", micromatch(['abc BUMP_MAJOR/def'], ['**BUMP_MAJOR**'])); console.log("7", micromatch(['abc BUMP_MAJOR/ def'], ['**BUMP_MAJOR**'])); console.log("8", micromatch(['/foo/'], ['**f**'])); console.log("1", picomatch('**BUMP_MAJOR**')('abc BUMP_MAJOR def')); console.log("2", picomatch('**BUMP_MAJOR**')('abc /BUMP_MAJOR def')); console.log("3", picomatch('**BUMP_MAJOR**')('abc / BUMP_MAJOR def')); console.log("4", picomatch('**BUMP_MAJOR**')('/abc BUMP_MAJOR def')); console.log("5", picomatch('**BUMP_MAJOR**')('abc BUMP_MAJOR def/')); console.log("6", picomatch('**BUMP_MAJOR**')('abc BUMP_MAJOR/def')); console.log("7", picomatch('**BUMP_MAJOR**')('abc BUMP_MAJOR/ def')); console.log("8", picomatch('**f**')('/foo/', ));
Loading…

no comments

    sign in to comment