Join the DZone community and get the full member experience.Join For Free
Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.
- Keyword: js
Google Chrome: handles output and keywords differently than Firefox.
- Creating a keyword: Go to “Preferences → Basics → Search → Manage Search Engines...” and create a new entry with the following URL:
- Arithmetic operators: addition (+), subtraction (-), multiplication (*), and division (/), modulo (%).
> 77 / 11 7 > 3.16 * 5 15.8 > 10 % 7 3
- Properties and methods of the global Math object :
- Math.pow(base, exponent)
- Converting to and from hexadecimal, binary, etc.
> (255).toString(16) 'ff' > parseInt("ff", 16) 255You need to put the number in parenthesis to invoke a method on it. Otherwise the dot will be mistaken as a decimal point. Alternatively, you can type two dots or append .0 to the number.
Opinions expressed by DZone contributors are their own.