Skip to content

ServerDeveloper9447/javascript-probaby-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

JavaScript Probably ?== Operator

This is the project to create a "probably" operator which will return a boolean based on the probabilty of the two operands being the same.

Examples:

  1. Result returned based on datatypes
const int = 9;
const float = 9.88;

int ?== float // returns true

// but...

float ?== int // returns false
  1. Result returned based on value that will be assigned to the variable.
let int;
let float;

int ?== float // returns true at this point
float ?== int // returns true at this point

int = 5
float = 5.4

// goes back to the two expressions and turns the first true and second false
  1. Predicting results based on quantum computing future telling.
/*
 Some quantum computing to predict future
*/

int ?== float // returns true based on predictions

Warning

THE RESULTS RETURNED BY THE OPERATOR ARE UNPREDICTABLE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published