facebook / facebook/hermes

Intl supportedValuesOf crashes

Open
#910 1 comment 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
11.3k
Forks
859
Avg merge
1h 30m
Merged PRs (30d)
3

Description

## Bug Description

Having `Intl.supportedValuesOf('timeZone')` in your code base crashes since `supportedValuesOf` is not a function.

- [x] I have run `gradle clean` and confirmed this bug does not occur with JSC

Hermes version: the one coming with rn 0.71.2
React Native version (if any): 0.71.2
OS version (if any): android
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64):

## Steps To Reproduce

add `Intl.supportedValuesOf('timeZone')` to a react native app and run on android with Hermes enabled.

code example:

## The Expected Behavior

returning a array of supported timezone strings like jsc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.