thrownew$TypeError('Assertion failed: `S` must be a String');
}
varS=$Object(value);
if(prototype!==$StringPrototype){
if(setProto){
setProto(S,prototype);
}else{
thrownew$SyntaxError('StringCreate: a `proto` argument that is not `String.prototype` is not supported in an environment that does not support setting the [[Prototype]]');