ReScript HomeReScript Home
DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is the exponentiation operator.

** raises a base value to a power.

It supports int, float, and bigint.

Example

ReScriptJS Output
let i = 2 ** 3
let f = 2. ** 3.

open! BigInt
let b = 2n ** 3n

© 2026 The ReScript Project

About
  • Community
  • ReScript Association
Find us on