name = 'John' sex = 'male' isCool = true if name is "John" and sex is "male" # compiles as if ( name === "John" && sex === "male" ) console.log('do something') if name is "John" or isCool is true # compiles as if ( name === "John" || isCool === true ) console.log('do something else')
As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.
Also see: Tab Triggers