(value)
| 299 | |
| 300 | |
| 301 | function ValueOf(value) { |
| 302 | switch (classOf(value)) { |
| 303 | case "Number": |
| 304 | return NumberPrototypeValueOf.call(value); |
| 305 | case "BigInt": |
| 306 | return BigIntPrototypeValueOf.call(value); |
| 307 | case "String": |
| 308 | return StringPrototypeValueOf.call(value); |
| 309 | case "Boolean": |
| 310 | return BooleanPrototypeValueOf.call(value); |
| 311 | case "Date": |
| 312 | return DatePrototypeValueOf.call(value); |
| 313 | default: |
| 314 | return value; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | |
| 319 | prettyPrinted = function prettyPrinted(value) { |
no test coverage detected