rum-goggles/v1/vendor/github.com/robertkrimen/otto/consts.go
2024-04-04 10:46:14 -04:00

36 lines
906 B
Go

package otto
const (
// Common classes.
classStringName = "String"
classGoArrayName = "GoArray"
classGoSliceName = "GoSlice"
classNumberName = "Number"
classDateName = "Date"
classArrayName = "Array"
classFunctionName = "Function"
classObjectName = "Object"
classRegExpName = "RegExp"
classBooleanName = "Boolean"
classMathName = "Math"
classJSONName = "JSON"
// Error classes.
classErrorName = "Error"
classEvalErrorName = "EvalError"
classTypeErrorName = "TypeError"
classRangeErrorName = "RangeError"
classReferenceErrorName = "ReferenceError"
classSyntaxErrorName = "SyntaxError"
classURIErrorName = "URIError"
// Common properties.
propertyName = "name"
propertyLength = "length"
propertyPrototype = "prototype"
propertyConstructor = "constructor"
// Common methods.
methodToString = "toString"
)