diff options
-rw-r--r-- | system/include/emscripten/val.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/include/emscripten/val.h b/system/include/emscripten/val.h index 22a7776a..857a1bdf 100644 --- a/system/include/emscripten/val.h +++ b/system/include/emscripten/val.h @@ -47,6 +47,22 @@ namespace emscripten { class val { public: + // missing operators: + // * delete + // * in + // * instanceof + // * typeof + // * ! ~ - + ++ -- + // * * / % + // * + - + // * << >> >>> + // * < <= > >= + // * == != === !== + // * & ^ | && || ?: + // + // exposing void, comma, and conditional is unnecessary + // same with: = += -= *= /= %= <<= >>= >>>= &= ^= |= + static val array() { return val(internal::_emval_new_array()); } |