Commit d36911a
committed
Implement Date.now() static method
- Implement Date.now() static method returning milliseconds since Unix epoch
- Extract Date static method handling into handle_date_static_method in js_date.rs
- Update evaluate_call and evaluate_optional_call to dispatch Date static methods1 parent 4c3f374 commit d36911a
3 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3422 | 3422 | | |
3423 | 3423 | | |
3424 | 3424 | | |
| 3425 | + | |
3425 | 3426 | | |
3426 | 3427 | | |
3427 | 3428 | | |
| |||
3576 | 3577 | | |
3577 | 3578 | | |
3578 | 3579 | | |
| 3580 | + | |
3579 | 3581 | | |
3580 | 3582 | | |
3581 | 3583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
0 commit comments