Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

javascripting

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascripting - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "javascripting",
"description": "Learn JavaScript by adventuring around in the terminal.",
"version": "1.1.2",
"version": "1.1.3",
"repository": {

@@ -6,0 +6,0 @@ "url": "git://github.com/sethvincent/javascripting.git"

@@ -5,3 +5,3 @@ ---

You successfully create an array!
You successfully created an array!

@@ -8,0 +8,0 @@ In the next challenge we will explore filtering arrays.

@@ -19,3 +19,3 @@ ---

The statement `i++` increase the variable `i` by 1 each loop.
The statement `i++` increases the variable `i` by 1 each loop.

@@ -30,3 +30,3 @@ ## The challenge:

For each loop, add the number `i` to the `total` variable.
Create a for loop. On each loop, add the number `i` to the `total` variable.

@@ -33,0 +33,0 @@ You can use a statement like this one:

@@ -17,3 +17,3 @@ ---

The above code will print the string `yummy'` to the terminal.
The above code will print the string `'yummy'` to the terminal.

@@ -20,0 +20,0 @@ Alternately, you can use **dot notation** to get identical results:

@@ -5,5 +5,8 @@ ---

Numbers can be integers, like `2`, `14`, or `4353`, or they can be decimals,
also known as floats, like `3.14`, `1.5`, or '100.7893423'.
We can do basic math using familiar operators like `+`, `-`, `*`, `/`, and `%`.
For more complex math, we can use the `Math` object.
In this challenge we'll use the `Math` object to round numbers.
## The challenge:

@@ -10,0 +13,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc