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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 description: "Date.now must exist as a function", | 27 description: "Date.now must exist as a function", |
28 | 28 |
29 test: function testcase() { | 29 test: function testcase() { |
30 var f = Date.now; | 30 var f = Date.now; |
31 if (typeof(f) === "function") { | 31 if (typeof(f) === "function") { |
32 return true; | 32 return true; |
33 } | 33 } |
34 } | 34 } |
35 }); | 35 }); |
OLD | NEW |