knockout js dump variable code example Example: knockout dump variable <pre data-bind="text: JSON.stringify(ko.toJS($data), null, 2)"></pre>