| OLD | NEW |
| 1 /// Copyright (c) 2009 Microsoft Corporation | 1 /// Copyright (c) 2009 Microsoft Corporation |
| 2 /// | 2 /// |
| 3 /// Redistribution and use in source and binary forms, with or without modificat
ion, are permitted provided | 3 /// Redistribution and use in source and binary forms, with or without modificat
ion, are permitted provided |
| 4 /// that the following conditions are met: | 4 /// that the following conditions are met: |
| 5 /// * Redistributions of source code must retain the above copyright notice,
this list of conditions and | 5 /// * Redistributions of source code must retain the above copyright notice,
this list of conditions and |
| 6 /// the following disclaimer. | 6 /// the following disclaimer. |
| 7 /// * Redistributions in binary form must reproduce the above copyright notic
e, this list of conditions and | 7 /// * Redistributions in binary form must reproduce the above copyright notic
e, this list of conditions and |
| 8 /// the following disclaimer in the documentation and/or other materials pr
ovided with the distribution. | 8 /// the following disclaimer in the documentation and/or other materials pr
ovided with the distribution. |
| 9 /// * Neither the name of Microsoft nor the names of its contributors may be
used to | 9 /// * Neither the name of Microsoft nor the names of its contributors may be
used to |
| 10 /// endorse or promote products derived from this software without specific
prior written permission. | 10 /// endorse or promote products derived from this software without specific
prior written permission. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 test: function testcase() { | 29 test: function testcase() { |
| 30 // assume that Number.prototype has not been modified. | 30 // assume that Number.prototype has not been modified. |
| 31 return Object.getPrototypeOf(new Number(42))===Number.prototype; | 31 return Object.getPrototypeOf(new Number(42))===Number.prototype; |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 precondition: function prereq() { | 34 precondition: function prereq() { |
| 35 return fnExists(Object.getPrototypeOf); | 35 return fnExists(Object.getPrototypeOf); |
| 36 } | 36 } |
| 37 | 37 |
| 38 }); | 38 }); |
| OLD | NEW |