Skip to main content

Harshal V. LADHE

Secure Coding Practices

Defensive coding techniques that protect data and behaviour from accidental or malicious tampering.

Content tagged secure-coding

  • Snippet:Deep Freeze Objects in JavaScript

    Recursively lock every object level for true immutability
    Lock objects and their children immutably — prevent accidental mutations and enforce deep immutability in strict mode.
    Published at:
    Categories:JavaScript
    Estimated reading time:2 min read