Skip to content

frux/something

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Something.js

Adds something to your global

Something.js adds something variable that equals different global properties every time you try to get its value.

Usage

on browser

<script src="something.js"></script>

on NodeJS

npm install something
require('smth');

And now just use something!

console.log(typeof something) //'function'
console.log(typeof something) //'object'
console.log(typeof something) //'boolean'
console.log(typeof something) //'object'
console.log(typeof something) //'null'

Also you can compare your variables with something:

if(myVariable === something){
  //...your code
}

About

Adds something to your global

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published