# Debugger.Script A `Debugger.Script` instance may refer to a sequence of bytecode in the debuggee or to a block of WebAssembly code. For the former, it is the {doc}`Debugger <../debugger/index>` API’s presentation of a JSAPI `JSScript` object. The two cases are distinguished by their `format` property being `"js"` or `"wasm"`. ## Debugger.Script for JSScripts For `Debugger.Script` instances referring to a `JSScript`, they are distinguished by their `format` property being `"js"`. Each of the following is represented by a single `JSScript` object: - The body of a function—that is, all the code in the function that is not contained within some nested function. - The code passed to a single call to `eval`, excluding the bodies of any functions that code defines. - The contents of a `