// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.ClearScript
{
///
/// Represents an undefined value.
///
///
/// Some script languages support one or more special non-null values that represent
/// nonexistent, missing, unknown, or undefined data. The ClearScript library maps such values
/// to instances of this class.
///
public class Undefined
{
///
/// The sole instance of the class.
///
public static readonly Undefined Value = new Undefined();
private Undefined()
{
}
#region Object overrides
///
/// Returns a string that represents the current object.
///
/// A string that represents the current object.
///
/// The version of this method returns "[undefined]".
///
public override string ToString()
{
return "[undefined]";
}
#endregion
}
}