Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4500537
test_exponentiation.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
409 B
Referenced Files
None
Subscribers
None
test_exponentiation.cjs
View Options
// Short test for exponentiation operator
console.log('2 ** 3 =', 2 ** 3);
console.log('5 ** 2 =', 5 ** 2);
console.log('2 ** 10 =', 2 ** 10);
console.log('(2 + 3) ** 2 =', (2 + 3) ** 2);
// Test bit shifts
console.log('8 << 2 =', 8 << 2);
console.log('32 >> 2 =', 32 >> 2);
// Test bitwise operations
console.log('12 & 10 =', 12 & 10);
console.log('12 | 10 =', 12 | 10);
console.log('12 ^ 10 =', 12 ^ 10);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 8:25 AM (17 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
523921
Default Alt Text
test_exponentiation.cjs (409 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment