(script string)
| 46 | } |
| 47 | |
| 48 | func (s *gojaSession) evalString(script string) (string, error) { |
| 49 | value, err := s.vm.RunString(script) |
| 50 | if err != nil { |
| 51 | return "", err |
| 52 | } |
| 53 | return normalizeString(value.Export()) |
| 54 | } |
| 55 | |
| 56 | func (s *gojaSession) close() {} |
| 57 |
nothing calls this directly
no test coverage detected