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.2.0 to 1.3.0

2

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

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

@@ -11,5 +11,5 @@ var path = require('path');

run(args[0], function (err, result) {
if (/55/.test(result)) cb(true);
if (/45/.test(result)) cb(true);
else cb(false);
});
};

@@ -8,4 +8,4 @@ ---

```js
for (var i=0; i<=10; i++) {
// log the numbers 0 through 10
for (var i = 0; i < 10; i++) {
// log the numbers 0 through 9
console.log(i)

@@ -17,4 +17,4 @@ }

The statement `i<=10;` indicates the limit of the loop.
It will continue to loop if `i` is less than or equal to `10`.
The statement `i < 10;` indicates the limit of the loop.
It will continue to loop if `i` is less than `10`.

@@ -21,0 +21,0 @@ The statement `i++` increases the variable `i` by 1 each loop.

---
# THE TOTAL IS 55
# THE TOTAL IS 45

@@ -5,0 +5,0 @@ That is a basic introduction to for loops, which are handy in a number of situations, particularly in combination with other data types like strings and arrays.

@@ -45,3 +45,2 @@ # JAVASCRIPTING

- "IF/ELSE STATEMENTS
- "ACCESSING ARRAY VALUES"

@@ -48,0 +47,0 @@ - "OBJECT KEYS"

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