Skip to content

Logical OR assignment operator (" ||= ") not supported? #10634

Closed Answered by Jarred-Sumner
BennyAlex asked this question in Q&A
Discussion options

You must be logged in to vote

Bun supports ||= and the other modern ECMAScript features you'd expect.

This script is running with an old version of Node.js. ./start.sh is either running node or a script it starts is running node. Either update the start.sh script to run bun, or prefix the invocation with --bun, like bun --bun start

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BennyAlex
Comment options

Answer selected by Jarred-Sumner
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants