Skip to content

Instantly share code, notes, and snippets.

@animoplex
Created December 25, 2018 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save animoplex/5facdbd7ddc4e3064ea98e9458343a78 to your computer and use it in GitHub Desktop.
Save animoplex/5facdbd7ddc4e3064ea98e9458343a78 to your computer and use it in GitHub Desktop.
JavaScript Operator Examples - After Effects Expression by Animoplex
// JavaScript Operator Examples - Created by Animoplex: www.animoplex.com
// The different operators in JavaScript and their outputs.
// Full Tutorial: https://www.youtube.com/watch?v=ppCF7jS1nAs&t=18s
1 < 2 // true
1 > 2 // false
1 <= 2 // true
1 >= 2 // false
1 == 2 // false
1 != 2 // true
true && false // false
true || false // true
!true // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment