(val)
| 357 | } |
| 358 | |
| 359 | export function reviveSet(val) { |
| 360 | const result = new Set() |
| 361 | const list = val._custom.value |
| 362 | for (let i = 0; i < list.length; i++) { |
| 363 | const value = list[i] |
| 364 | result.add(revive(value)) |
| 365 | } |
| 366 | return result |
| 367 | } |
| 368 | |
| 369 | export function getCustomBigIntDetails(val) { |
| 370 | const stringifiedBigInt = BigInt.prototype.toString.call(val) |