
ChakraCore version:
commit c3ead3f

Build cmd:
```shell
./build.sh --debug --static
```

Test case:
```js
function foo()
{
	switch (undefined) {
		
		case undefined:
		    try {
		    } 
		    finally {

	            switch (0) {
	                case 0:
	                    try {
	                        break;
	                    } finally {
	                    }
	            }

		    }
		    break;
		default:
		    break;
	}
	
	let p = Proxy;
	p = "PI";
	Error[p] = NaN;
}

let x = foo();

let i = 0;
while(i < 1024)
{
	foo();
	i++;
}
```

Execute
```shell
./ch ./test.js
```

Error msg:
```
ASSERTION 448644: (ChakraCore/lib/Runtime/Language/ValueType.cpp, line 1101) var
 Failure: (var)
Illegal instruction (core dumped)
```
ASSERTION 448644: (ChakraCore/lib/Runtime/Language/ValueType.cpp, line 1101)
This is a GitHub Issue
repo:ChakraCore
owner:chakra-core
Title : ASSERTION 448644: (ChakraCore/lib/Runtime/Language/ValueType.cpp, line 1101)
Issue date:

--- start body ---

ChakraCore version:
commit c3ead3f

Build cmd:
```shell
./build.sh --debug --static
```

Test case:
```js
function foo()
{
	switch (undefined) {
		
		case undefined:
		    try {
		    } 
		    finally {

	            switch (0) {
	                case 0:
	                    try {
	                        break;
	                    } finally {
	                    }
	            }

		    }
		    break;
		default:
		    break;
	}
	
	let p = Proxy;
	p = "PI";
	Error[p] = NaN;
}

let x = foo();

let i = 0;
while(i < 1024)
{
	foo();
	i++;
}
```

Execute
```shell
./ch ./test.js
```

Error msg:
```
ASSERTION 448644: (ChakraCore/lib/Runtime/Language/ValueType.cpp, line 1101) var
 Failure: (var)
Illegal instruction (core dumped)
```
--- end body ---

An assertion failure in ChakraCore's ValueType.cpp indicates a potential vulnerability related to improper handling of JavaScript constructs, which could lead to unexpected behavior or crashes. This could be exploited to cause Denial of Service (DoS) or potentially execute arbitrary code if the assertion failure can be manipulated in a specific way.