console.assert(first, second)

      Javascript language logo

      JavaScript snippets for React

      The assert() method is a console.log() convenience method that enables you to test a condition without running the code that defines the condition. In this case, the condition is that first and second are equal.

      Shortcut: cas


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.