Skip to Content
UX Design for Mobile
book

UX Design for Mobile

by Pau Giner, Pablo Perea
July 2017
Intermediate to advanced
354 pages
9h 58m
English
Packt Publishing
Content preview from UX Design for Mobile

Types

The variables you define in your prototype will be able to contain different kinds of information. In CoffeeScript, we find different types of data with which we can work. These are common to many programming languages. In this chapter, we will also need to talk about numbers, strings, booleans, arrays, and objects:

  • Numbers capture numerical values, such as 2, 100, and -250.
  • Strings define textual information, and they are expressed in quotation marks, such as "welcome to your app".
  • Booleans are logical binary values; they will take the value of TRUE or FALSE. They are useful for describing logic conditions to guide decisions in the behavior of your prototype.
  • Arrays are collections of values, such as [3,5,2,9] or ["London", "Paris", ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical UX Design

Practical UX Design

Scott Faranello
Designing UX: Forms

Designing UX: Forms

Jessica Enders
User Experience Design

User Experience Design

Satyam Kantamneni

Publisher Resources

ISBN: 9781787283428Supplemental Content