test101.js 609 B

12345678910111213141516
  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(){
  6. var func0 = function(){
  7. d = { valueOf: function() { WScript.Echo('d valueOf'); return 3; } };
  8. }
  9. var func1 = function(p0){
  10. p0 = (p0 >>>= (~ func0(1)));
  11. }
  12. var d = 1;
  13. func1(d);
  14. func1(d);
  15. })();