mirror of
https://gitcode.com/gh_mirrors/se/setup-python.git
synced 2026-07-05 11:31:14 +00:00
11 lines
229 B
JavaScript
11 lines
229 B
JavaScript
// Build out our basic SafeString type
|
|
function SafeString(string) {
|
|
this.string = string;
|
|
}
|
|
|
|
SafeString.prototype.toString = SafeString.prototype.toHTML = function() {
|
|
return '' + this.string;
|
|
};
|
|
|
|
export default SafeString;
|