|
Revision 1782, 0.7 kB
(checked in by holidays-l, 6 years ago)
|
|
lang/javascript/Object.toSource: imported
|
-
Property svn:keywords set to
Date Revision Author HeadURL Id
|
| Line | |
|---|
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|---|
| 2 | <html lang="ja"> |
|---|
| 3 | <head> |
|---|
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|---|
| 5 | <meta http-equiv="Content-Style-Type" content="text/css"> |
|---|
| 6 | <meta http-equiv="Content-Script-Type" content="text/javascript"> |
|---|
| 7 | <title>Object.toSource</title> |
|---|
| 8 | <script type="text/javascript" src="lib/JSAN.js"></script> |
|---|
| 9 | </head> |
|---|
| 10 | <body> |
|---|
| 11 | <script type="text/javascript"><!-- |
|---|
| 12 | JSAN.addRepository('lib', '../lib'); |
|---|
| 13 | JSAN.errorLevel = 'die'; |
|---|
| 14 | JSAN.use('Test.More'); |
|---|
| 15 | plan({ tests: 1 }); |
|---|
| 16 | |
|---|
| 17 | JSAN.use('Object.toSource'); |
|---|
| 18 | |
|---|
| 19 | var s = '1'; |
|---|
| 20 | is(s.toSource(), '(new String("1"))'); |
|---|
| 21 | // --></script> |
|---|
| 22 | </body> |
|---|
| 23 | </html> |
|---|