/
var
/
www
/
cobraambalaj
/
node_modules
/
es5-ext
/
test
/
string
/
#
/
contains
/
/var/www/cobraambalaj/node_modules/es5-ext/test/string/#/contains
mkdir
upload
Name
Size
Mode
Actions
implement.js
154
0644
edit
dl
rm
index.js
51
0644
edit
dl
rm
is-implemented.js
79
0644
edit
dl
rm
shim.js
516
0644
edit
dl
rm
Edit:
/var/www/cobraambalaj/node_modules/es5-ext/test/string/#/contains/shim.js
(516B)
"use strict"; module.exports = function (t, a) { a(t.call("raz", ""), true, "Empty"); a(t.call("", ""), true, "Both Empty"); a(t.call("raz", "raz"), true, "Same"); a(t.call("razdwa", "raz"), true, "Starts with"); a(t.call("razdwa", "dwa"), true, "Ends with"); a(t.call("razdwa", "zdw"), true, "In middle"); a(t.call("", "raz"), false, "Something in empty"); a(t.call("az", "raz"), false, "Longer"); a(t.call("azasdfasdf", "azff"), false, "Not found"); a(t.call("razdwa", "raz", 1), false, "Position"); };
Save
cmd:
run