Debian Codegraph @

.cargo/vendor/js-sys/tests/wasm/JsString.js

raw
1 exports.new_string_object = () => new String("hi");
2
3 exports.get_replacer_function = function() {
4 return function upperToHyphenLower(match, offset, string) {
5 return (offset > 0 ? '-' : '') + match.toLowerCase();
6 };
7 };