---
jsApi: true
title: "[F] skipTrivia"

---
```ts
skipTrivia(
   input, 
   position, 
   endPosition): number
```

## Parameters

| Parameter | Type | Default value |
| :------ | :------ | :------ |
| `input` | `string` | `undefined` |
| `position` | `number` | `undefined` |
| `endPosition` | `number` | `input.length` |

## Returns

`number`
