smth

0.0.1 • Public • Published

Something.js

Adds something to your window

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

Usage

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

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'

You can compare your variables with something:

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

Readme

Keywords

Package Sidebar

Install

npm i smth

Weekly Downloads

1

Version

0.0.1

License

WTFPL

Last publish

Collaborators

  • frux