mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-15 00:18:06 -05:00
8 lines
224 B
Rust
8 lines
224 B
Rust
use crate::asm::{Number, Value};
|
|
|
|
pub const CONSTANTS: [(&str, Value); 3] = [
|
|
("undefined", Value::Undefined),
|
|
("NaN", Value::Number(Number(std::f64::NAN))),
|
|
("Infinity", Value::Number(Number(std::f64::INFINITY))),
|
|
];
|