// Copyright (C) 2016 Michael Ficarra. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-function.prototype.tostring
description: Function.prototype.toString on a function with Unicode escape sequences
info: >
  Function.prototype.toString returns a slice of the source text before
  any potential Unicode escape sequence substitution in identifiers
---*/

function \u0061(\u{62}, \u0063) { \u0062 = \u{00063}; return b; }

assert.sameValue(a.toString(), "function \\u0061(\\u{62}, \\u0063) { \\u0062 = \\u{00063}; return b; }");

reportCompare(0, 0);
