-
Notifications
You must be signed in to change notification settings - Fork 121
/
Undefined.cs
34 lines (31 loc) · 922 Bytes
/
Undefined.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Security;
using System.Text;
namespace Jurassic
{
/// <summary>
/// Represents the JavaScript "undefined" type and provides the one and only instance of that type.
/// </summary>
public sealed class Undefined
{
/// <summary>
/// Creates a new Undefined instance.
/// </summary>
private Undefined()
{
}
/// <summary>
/// Gets the one and only "undefined" instance.
/// </summary>
public static readonly Undefined Value = new Undefined();
/// <summary>
/// Returns a string representing the current object.
/// </summary>
/// <returns> A string representing the current object. </returns>
public override string ToString()
{
return "undefined";
}
}
}