blob: 54e0be9a9b469ea392df4ff8f1c5ef145dc8da01 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function foo()
{
this.a = 5;
this.b = 2;
}
foo.prototype.add = function(x,y)
{
return x+y;
}