JavascriptBigIntObject.cpp 747 B

12345678910111213141516171819
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #include "RuntimeLibraryPch.h"
  6. namespace Js
  7. {
  8. JavascriptBigIntObject::JavascriptBigIntObject(JavascriptBigInt* value, DynamicType * type)
  9. : DynamicObject(type), value(value)
  10. {
  11. Assert(type->GetTypeId() == TypeIds_BigIntObject);
  12. }
  13. JavascriptBigInt* JavascriptBigIntObject::GetValue() const
  14. {
  15. return this->value;
  16. }
  17. } // namespace Js