O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Operators

Now that we have covered some of the types of data JavaScript has available, and how you can store that information, we need to go over how to dosomething with these data. There are several categories of operations you can perform in the JavaScript language. You can assign and compare data, perform calculations with data, evaluate logic, and manipulate string data. JavaScript also has a set of special operators that amount to programming shortcuts for making some common programming structures with fewer keystrokes.

Assignment

This set of operators allows you to assign variables to data. There are some shorthand ways whereby JavaScript allows you to interact with data assignment to save some of the repetitiveness of programming.

Comparison ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required