lint and format

This commit is contained in:
Timothy
2021-01-12 23:35:36 +08:00
parent 126e30393b
commit f5b68672eb
24 changed files with 1740 additions and 78 deletions

View File

@ -17,11 +17,11 @@ Sample of inline highlighting `sum = parseInt(num1) + parseInt(num2)`
Some Javascript code
```javascript
var num1, num2, sum
num1 = prompt("Enter first number")
num2 = prompt("Enter second number")
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
alert("Sum = " + sum) // "+" means combine into a string
var num1, num2, sum
num1 = prompt('Enter first number')
num2 = prompt('Enter second number')
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
alert('Sum = ' + sum) // "+" means combine into a string
```
Some Python code 🐍