26 lines
483 B
JavaScript
26 lines
483 B
JavaScript
typeof_evaluation: {
|
|
options = {
|
|
evaluate: true
|
|
};
|
|
input: {
|
|
a = typeof 1;
|
|
b = typeof 'test';
|
|
c = typeof [];
|
|
d = typeof {};
|
|
e = typeof /./;
|
|
f = typeof false;
|
|
g = typeof function(){};
|
|
h = typeof undefined;
|
|
}
|
|
expect: {
|
|
a='number';
|
|
b='string';
|
|
c=typeof[];
|
|
d=typeof{};
|
|
e=typeof/./;
|
|
f='boolean';
|
|
g='function';
|
|
h='undefined';
|
|
}
|
|
}
|