Page MenuHomePhorge

test_exponentiation.cjs
No OneTemporary

Size
409 B
Referenced Files
None
Subscribers
None

test_exponentiation.cjs

// 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

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)

Event Timeline