on-internet
← Community

Back to the bit test question in JavaScript

Stack Overflow ·

Given: all numbers are valid BigInts for expanding to 128 bits and beyond buttonArray holds 64 button objects a button is initalized through a .forEach loop and pushed onto buttonArray this makes each button accessible via buttonArray[buttonIndex] it also makes scanning the array quick and easy buttonData holds a 64 x 15 array of each command attribute (button text, command, handler, status word, color, etc.) For this example buttonData[0] is: ["Deploy Landing Gear","Retract Landing Gear*","deploy landing gear","retract landing gear","toggle1","EliteAPI.Gear",0x8000000000000000n,_c._black,_c._

Comments

Sign in or sign up to comment and upvote.

No comments yet.