A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript π Don't miss our Quizzes!
Let's chat: @nairihar
Post #1931
9.57K

π₯°
- π₯ 31
- β€ 15
- π€© 5
- π 4
JA @javascript
Showing posts older than #1932 Β· Back to latest






let a = 5; // binary: 101
let b = 3; // binary: 011
let result = a ^ b;
console.log(result);

const defaultSettings = {
theme: 'light',
notifications: true,
location: 'USA'
};
const userSettings = {
theme: 'dark',
location: 'Canada'
};
const finalSettings = {
...defaultSettings,
...userSettings
};
console.log(finalSettings);
let a = 5; // binary: 0101
let b = 3; // binary: 0011
let result = a & b;
console.log(result);
