Commit 248a58f
committed
map: document that strict built-ins throw TypeError on null/numeric elements
Same note as SmartString's map(): elements arrive raw in their original types, so built-ins that require a string fatal on null or numbers - chain ->map('strval') first.1 parent 015e2a5 commit 248a58f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
896 | 899 | | |
897 | 900 | | |
898 | 901 | | |
| |||
0 commit comments