Welsh flag

node v8.17.0
version: 2.0.0
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:
function cut(str) { // return ... } // Tests assert(cut("Alexander") == "A"); assert(cut("--łukasz--") == "-"); assert(cut("今日中国") == "今"); assert(cut("☝🏻 I am white") == "☝🏻"); assert(cut("🏴󠁧󠁢󠁷󠁬󠁳󠁿🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿") == "🏴󠁧󠁢󠁷󠁬󠁳󠁿");

no comments

    sign in to comment