chapter4-code-10

PHOTO EMBED

Thu Mar 30 2023 09:45:09 GMT+0000 (Coordinated Universal Time)

Saved by @RareSkills

uint256 x = 1;
uint256 y = 2;

unchecked {
    uint256 z = x - y; // z == 2**256 - 1
}
content_copyCOPY