constructor-crossScript.js 523 B

1234567891011121314
  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. function crossContextObject()
  6. {
  7. this.prop = "property";
  8. }
  9. function createObject()
  10. {
  11. var o = new crossContextObject();
  12. return o;
  13. }