Skip to content

Instantly share code, notes, and snippets.

View Nevah5's full-sized avatar

Nevah Nevah5

View GitHub Profile
@Nevah5
Nevah5 / cheatsheetM294.md
Last active January 25, 2022 12:37
ICT Module 294

General

Math

var random = Math.random(); //random num 0-1
var randomInt = Math.floor(Math.random() * 100); //random int 1-100

Arrays

const fruits = ['orange', 'apple', 'banana'];
const newFruits = [...fruits, 'pineapple'];
{
"packages": [
{
"name": "AZ3166",
"maintainer": "Microsoft Developer",
"websiteURL": "https://microsoft.github.io/azure-iot-developer-kit/",
"email": "[email protected]",
"help": {
"online": "https://microsoft.github.io/azure-iot-developer-kit/"
},